/// <summary> /// Provides dependencies for ICommandMultipleResultExpressions. /// </summary> /// <param name="propertyMetadataExtractor">The property metadata extractor.</param> /// <param name="singleResultSetCommandProcessorFactory">The single result set command processor factory.</param> public CommandSingleResultExpressionFactory( IPropertyMetadataExtractor propertyMetadataExtractor, ISingleResultSetCommandProcessorFactory singleResultSetCommandProcessorFactory) { _propertyMetadataExtractor = propertyMetadataExtractor; _singleResultSetCommandProcessorFactory = singleResultSetCommandProcessorFactory; }
/// <summary> /// Initializes a new instance of the <see cref="CommandSingleResultExpression{TFilter,TResult}" /> class. /// </summary> /// <param name="propertyMetadataExtractor">The property metadata extractor.</param> /// <param name="singleResultSetCommandProcessorFactory">The single result set command processor factory.</param> /// <param name="command">The CommandBuilder.</param> public CommandSingleResultExpression( IPropertyMetadataExtractor propertyMetadataExtractor, ISingleResultSetCommandProcessorFactory singleResultSetCommandProcessorFactory, ICommandBuilderInfo <TFilter> command) : base(propertyMetadataExtractor, command) { _singleResultSetCommandProcessorFactory = singleResultSetCommandProcessorFactory; }