Interface IResultUseCase<TRequest, TResponse>
- Namespace
- Ploch.CommandLine.UseCases
- Assembly
- Ploch.CommandLine.UseCases.dll
Defines a use case that operates on a request and returns a result object from the Ardalis.Result library.
public interface IResultUseCase<in TRequest, TResponse> : IUseCase<TRequest, Result<TResponse>>
Type Parameters
TRequestThe type of the request object that this use case handles.
TResponseThe type of the value returned in a successful Ardalis.Result.Result<T>.
- Inherited Members
Properties
- UseCaseName
Gets the name of the use case, typically derived from the implementing class's name.