Class RequestDerivation
Defines how a request can be derived from another operation's request/response. Use the Derive(Dictionary<string, (object Request, object Response)>, object) class to create instances.
public class RequestDerivation
- Inheritance
-
RequestDerivation
- Inherited Members
Properties
Sources
The operation names this derivation depends on.
public IList<string> Sources { get; }
Property Value
Methods
Derive(Dictionary<string, (object Request, object Response)>, object)
Derives request(s) from the given source operation results.
public Dictionary<string, object> Derive(Dictionary<string, (object Request, object Response)> sources, object template = null)
Parameters
sourcesDictionary<string, (object Request, object Response)>Dictionary mapping operation name to (Request, Response) tuple.
templateobjectOptional template value for derivations that use templates.
Returns
- Dictionary<string, object>
Dictionary mapping variant label to derived request.