Ejemplo n.º 1
0
 /// <summary>
 /// Initializes a new instance of the <see cref="SPAuthenticationTokenService"/> class.
 /// </summary>
 /// <param name="httpClient">The Http client.</param>
 /// <param name="logger">ILogger reference to log output.</param>
 /// <param name="spClientServiceConfiguration">The SharePoint Client Service configuration.</param>
 public SPAuthenticationTokenService(
     HttpClient httpClient,
     IOptions <SPClientServiceConfiguration> spClientServiceConfiguration,
     IContractEventProcessorLogger <ISharePointClientService> logger)
 {
     _httpClient = httpClient;
     _spConfig   = spClientServiceConfiguration.Value;
     _logger     = logger;
 }
 /// <summary>
 /// Initializes a new instance of the <see cref="SharePointClientService"/> class.
 /// </summary>
 /// <param name="logger">ILogger reference to log output.</param>
 /// <param name="clientContext">The SharePoint Client Context.</param>
 /// <param name="spClientServiceConfiguration">The SharePoint Client Service configuration.</param>
 public SharePointClientService(
     IContractEventProcessorLogger <ISharePointClientService> logger,
     ClientContext clientContext,
     IOptions <SPClientServiceConfiguration> spClientServiceConfiguration)
 {
     _logger        = logger;
     _clientContext = clientContext;
     _spConfig      = spClientServiceConfiguration.Value;
 }
Ejemplo n.º 3
0
 /// <summary>
 /// Initializes a new instance of the <see cref="ContractEventSessionManager" /> class.
 /// </summary>
 /// <param name="stateManager">The session workflow state manager.</param>
 /// <param name="contractService">The contract service.</param>
 /// <param name="logger">The logger.</param>
 /// <param name="functionSettings">The configuration settings options.</param>
 /// <param name="processLog">The process log.</param>
 public ContractEventSessionManager(
     IWorkflowStateManager stateManager,
     IContractService contractService,
     IContractEventProcessorLogger <IContractEventSessionManager> logger,
     IFunctionSettings functionSettings,
     IContractEventProcessLog processLog)
 {
     _stateManager     = stateManager;
     _contractService  = contractService;
     _logger           = logger;
     _functionSettings = functionSettings;
     _processLog       = processLog;
 }
Ejemplo n.º 4
0
 /// <summary>
 /// Initializes a new instance of the <see cref="ContractService"/> class.
 /// </summary>
 /// <param name="logger">The logger.</param>
 /// <param name="contractsDataService">The contracts data service.</param>
 /// <param name="contractApprovalService">The contract approval service.</param>
 /// <param name="validationService">The validation service.</param>
 /// <param name="contractWithdrawService">The contract withdraw service.</param>
 /// <param name="contractCreationService">The contract creation service.</param>
 public ContractService(
     IContractEventProcessorLogger <IContractService> logger,
     IContractsDataService contractsDataService,
     IContractApprovalService contractApprovalService,
     IContractWithdrawService contractWithdrawService,
     IContractCreationService contractCreationService)
 {
     _logger = logger;
     _contractsDataService    = contractsDataService;
     _contractApprovalService = contractApprovalService;
     _contractWithdrawService = contractWithdrawService;
     _contractCreationService = contractCreationService;
 }
 /// <summary>
 /// Initializes a new instance of the <see cref="ContractCreationService"/> class.
 /// </summary>
 /// <param name="logger">The logger.</param>
 /// <param name="contractsDataService">The contracts data service.</param>
 /// <param name="sharePointClientService">The share point client service.</param>
 /// <param name="documentManagementService">The Aspose pdf document management service.</param>
 /// <param name="contractEventMapper">The contract processor service.</param>
 /// <param name="spClientServiceConfiguration">The SharePoint Client Service configuration.</param>
 public ContractCreationService(
     IContractEventProcessorLogger <IContractCreationService> logger,
     IContractsDataService contractsDataService,
     ISharePointClientService sharePointClientService,
     IDocumentManagementService documentManagementService,
     IContractEventMapper contractEventMapper,
     IOptions <SPClientServiceConfiguration> spClientServiceConfiguration)
 {
     _logger = logger;
     _contractsDataService      = contractsDataService;
     _sharePointClientService   = sharePointClientService;
     _documentManagementService = documentManagementService;
     _contractEventMapper       = contractEventMapper;
     _spConfig = spClientServiceConfiguration.Value;
 }
 /// <summary>
 /// Initializes a new instance of the <see cref="ContractApprovalService"/> class.
 /// </summary>
 /// <param name="logger">The logger.</param>
 /// <param name="contractsDataService">The contracts data service.</param>
 /// <param name="validationService">The validation service.</param>
 public ContractApprovalService(IContractEventProcessorLogger <IContractApprovalService> logger, IContractsDataService contractsDataService)
 {
     _logger = logger;
     _contractsDataService = contractsDataService;
 }
Ejemplo n.º 7
0
 /// <summary>
 /// Initializes a new instance of the <see cref="AsposeDocumentManagementService"/> class.
 /// </summary>
 /// <param name="logger">The logger.</param>
 public AsposeDocumentManagementService(IContractEventProcessorLogger <AsposeDocumentManagementService> logger)
 {
     _logger = logger;
 }
 /// <summary>
 /// Initializes a new instance of the <see cref="ContractWithdrawService"/> class.
 /// </summary>
 /// <param name="logger">The logger.</param>
 /// <param name="contractsDataService">The contracts data service.</param>
 /// <param name="validationService">The validation service.</param>
 public ContractWithdrawService(IContractEventProcessorLogger <IContractWithdrawService> logger, IContractsDataService contractsDataService)
 {
     _logger = logger;
     _contractsDataService = contractsDataService;
 }