Пример #1
0
 /// <summary>
 /// Describes an object capable of managing <see cref="Process"/> and <see cref="ActorAction"/> resources.
 /// </summary>
 public ProcessFacade(ILogger <ProcessFacade> logger, IProcessStore processStore, IApprovalsLegacyStore approvalsLegacyStore, ISecurityStore securityStore)
 {
     _logger               = logger ?? throw new ArgumentNullException(nameof(logger));
     _processStore         = processStore ?? throw new ArgumentNullException(nameof(processStore));
     _approvalsLegacyStore = approvalsLegacyStore ?? throw new ArgumentNullException(nameof(approvalsLegacyStore));
     _securityStore        = securityStore ?? throw new ArgumentNullException(nameof(securityStore));
 }
Пример #2
0
 /// <summary>
 /// Describes an object capable of managing <see cref="Activity"/> and <see cref="ActorAction"/> resources.
 /// </summary>
 public ActivityFacade(ILogger <ActivityFacade> logger, IActivityStore activityStore, IProcessStore processStore, IApprovalsLegacyStore approvalsLegacyStore, IPersonIdentificationStore personIdentificationStore, ISecurityStore securityStore)
 {
     _logger                    = logger ?? throw new ArgumentNullException(nameof(logger));
     _processStore              = processStore ?? throw new ArgumentNullException(nameof(processStore));
     _activityStore             = activityStore ?? throw new ArgumentNullException(nameof(activityStore));
     _approvalsLegacyStore      = approvalsLegacyStore ?? throw new ArgumentNullException(nameof(approvalsLegacyStore));
     _personIdentificationStore = personIdentificationStore ?? throw new ArgumentNullException(nameof(personIdentificationStore));
     _securityStore             = securityStore ?? throw new ArgumentNullException(nameof(securityStore));
 }