Class DerivationSources
Provides typed access to source operation requests and responses for multi-source derivations.
public class DerivationSources
- Inheritance
-
DerivationSources
- Inherited Members
Methods
Get<TRequest, TResponse>(string)
Gets both the request and response from a source operation.
public (TRequest Request, TResponse Response) Get<TRequest, TResponse>(string operationName)
Parameters
operationNamestring
Returns
Type Parameters
TRequestTResponse
RequestOf<TRequest>(string)
Gets the request from a source operation, cast to the specified type.
public TRequest RequestOf<TRequest>(string operationName)
Parameters
operationNamestring
Returns
- TRequest
Type Parameters
TRequest
ResponseOf<TResponse>(string)
Gets the response from a source operation, cast to the specified type.
public TResponse ResponseOf<TResponse>(string operationName)
Parameters
operationNamestring
Returns
- TResponse
Type Parameters
TResponse