private static ContractQueryConfiguration Map(
     IContractQueryDto contractQuery, ISubscriberContractDto contract, IEnumerable <IContractQueryParameterDto> parameters)
 {
     return(new ContractQueryConfiguration
     {
         Contract = contract,
         Query = contractQuery,
         Parameters = parameters.ToArray()
     });
 }
Beispiel #2
0
 public static ContractQueryConfiguration ToContractQueryConfiguration(
     this IContractQueryDto queryConfig,
     ISubscriberContractDto contractConfig,
     IContractQueryParameterDto[] queryParameters)
 {
     return(new ContractQueryConfiguration
     {
         Contract = contractConfig,
         Query = queryConfig,
         Parameters = queryParameters
     });
 }