public DefaultSchemaService(
     IWalletRecordService recordService,
     ILedgerService ledgerService,
     ITailsService tailsService)
 {
     RecordService = recordService;
     LedgerService = ledgerService;
     TailsService  = tailsService;
 }
        // ReSharper restore InconsistentNaming

        /// <summary>
        /// Initializes a new instance of the <see cref="DefaultSchemaService"/> class.
        /// </summary>
        /// <param name="provisioningService">Provisioning service.</param>
        /// <param name="recordService">Record service.</param>
        /// <param name="ledgerService">Ledger service.</param>
        /// <param name="tailsService">Tails service.</param>
        public DefaultSchemaService(
            IProvisioningService provisioningService,
            IWalletRecordService recordService,
            ILedgerService ledgerService,
            ITailsService tailsService)
        {
            ProvisioningService = provisioningService;
            RecordService       = recordService;
            LedgerService       = ledgerService;
            TailsService        = tailsService;
        }
Exemple #3
0
        // ReSharper restore InconsistentNaming

        /// <summary>
        /// Initializes a new instance of the <see cref="DefaultSchemaService" /> class.
        /// </summary>
        /// <param name="provisioningService">Provisioning service.</param>
        /// <param name="recordService">Record service.</param>
        /// <param name="ledgerService">Ledger service.</param>
        /// <param name="paymentService">The payment service.</param>
        /// <param name="tailsService">Tails service.</param>
        /// <param name="agentOptions">The agent options.</param>
        public DefaultSchemaService(
            IProvisioningService provisioningService,
            IWalletRecordService recordService,
            ILedgerService ledgerService,
            IPaymentService paymentService,
            ITailsService tailsService,
            IOptions <AgentOptions> agentOptions)
        {
            ProvisioningService = provisioningService;
            RecordService       = recordService;
            LedgerService       = ledgerService;
            this.paymentService = paymentService;
            TailsService        = tailsService;
            AgentOptions        = agentOptions.Value;
        }
Exemple #4
0
 /// <summary>
 /// Initializes a new instance of the <see cref="DefaultProofService"/> class.
 /// </summary>
 /// <param name="eventAggregator">The event aggregator.</param>
 /// <param name="connectionService">The connection service.</param>
 /// <param name="recordService">The record service.</param>
 /// <param name="provisioningService">The provisioning service.</param>
 /// <param name="ledgerService">The ledger service.</param>
 /// <param name="tailsService">The tails service.</param>
 /// <param name="logger">The logger.</param>
 public DefaultProofService(
     IEventAggregator eventAggregator,
     IConnectionService connectionService,
     IWalletRecordService recordService,
     IProvisioningService provisioningService,
     ILedgerService ledgerService,
     ITailsService tailsService,
     ILogger <DefaultProofService> logger)
 {
     EventAggregator     = eventAggregator;
     TailsService        = tailsService;
     ConnectionService   = connectionService;
     RecordService       = recordService;
     ProvisioningService = provisioningService;
     LedgerService       = ledgerService;
     Logger = logger;
 }
 public DefaultProofService(
     IConnectionService connectionService,
     IRouterService routerService,
     IMessageSerializer messageSerializer,
     IWalletRecordService recordService,
     IProvisioningService provisioningService,
     ILedgerService ledgerService,
     ITailsService tailsService,
     ILogger <DefaultProofService> logger)
 {
     TailsService        = tailsService;
     ConnectionService   = connectionService;
     RouterService       = routerService;
     MessageSerializer   = messageSerializer;
     RecordService       = recordService;
     ProvisioningService = provisioningService;
     LedgerService       = ledgerService;
     Logger = logger;
 }
 /// <summary>
 /// Initializes a new instance of the <see cref="DefaultCredentialService"/> class.
 /// </summary>
 /// <param name="eventAggregator">The event aggregator.</param>
 /// <param name="messageService">The message service.</param>
 /// <param name="ledgerService">The ledger service.</param>
 /// <param name="connectionService">The connection service.</param>
 /// <param name="recordService">The record service.</param>
 /// <param name="schemaService">The schema service.</param>
 /// <param name="tailsService">The tails service.</param>
 /// <param name="provisioningService">The provisioning service.</param>
 /// <param name="logger">The logger.</param>
 public DefaultCredentialService(
     IEventAggregator eventAggregator,
     IMessageService messageService,
     ILedgerService ledgerService,
     IConnectionService connectionService,
     IWalletRecordService recordService,
     ISchemaService schemaService,
     ITailsService tailsService,
     IProvisioningService provisioningService,
     ILogger <DefaultCredentialService> logger)
 {
     EventAggregator     = eventAggregator;
     MessageService      = messageService;
     LedgerService       = ledgerService;
     ConnectionService   = connectionService;
     RecordService       = recordService;
     SchemaService       = schemaService;
     TailsService        = tailsService;
     ProvisioningService = provisioningService;
     Logger = logger;
 }
Exemple #7
0
 public DefaultCredentialService(
     IRouterService routerService,
     ILedgerService ledgerService,
     IConnectionService connectionService,
     IWalletRecordService recordService,
     IMessageSerializer messageSerializer,
     ISchemaService schemaService,
     ITailsService tailsService,
     IProvisioningService provisioningService,
     ILogger <DefaultCredentialService> logger)
 {
     RouterService       = routerService;
     LedgerService       = ledgerService;
     ConnectionService   = connectionService;
     RecordService       = recordService;
     MessageSerializer   = messageSerializer;
     SchemaService       = schemaService;
     TailsService        = tailsService;
     ProvisioningService = provisioningService;
     Logger = logger;
 }