public FutureContractsDependencyBlock( IAllFutureContractInquiryProcessor allFutureContractInquiryProcessor, IPagedDataRequestFactory pagedDataRequestFactory, IFutureContractByIdInquiryProcessor futureContractByIdInquiryProcessor) { AllFutureContractInquiryProcessor = allFutureContractInquiryProcessor; PagedDataRequestFactory = pagedDataRequestFactory; FutureContractByIdInquiry = futureContractByIdInquiryProcessor; }
public FutureContractsService(IFutureContractsDependencyBlock futureContractDependencyBlock) { _allFutureContractInquiryProcessor = futureContractDependencyBlock.AllFutureContractInquiryProcessor; _futureContractByIdInquiry = futureContractDependencyBlock.FutureContractByIdInquiry; _pagedDataRequestFactory = futureContractDependencyBlock.PagedDataRequestFactory; }