internal EncryptedFieldService(ICDSPluginExecutionContext executionContext, string recordType, IServiceConfiguration configuration, IEncryptionServiceFactory encryptionServiceFactory, IUserRoleEvaluator roleEvaluator, IEncryptedFieldAccessLoggerFactory accessLoggerFactory)
 {
     this.ExecutionContext         = executionContext ?? throw new ArgumentNullException("executionContext");
     this.RecordType               = recordType ?? throw new ArgumentNullException("recordType");
     this.Configuration            = configuration ?? throw new ArgumentNullException("configuration");
     this.EncryptionServiceFactory = encryptionServiceFactory ?? throw new ArgumentNullException("encryptionServiceFactory");
     this.RoleEvaluator            = roleEvaluator ?? throw new ArgumentNullException("roleEvaluator");
     this.AccessLoggerFactory      = accessLoggerFactory;
 }
 public EncryptedFieldServiceFactoryNoLogging(IEncryptedFieldSettingsFactory settingsFactory, IEncryptionServiceFactory encryptionServiceFactory, IUserRoleEvaluator roleEvaluator)
     : base(settingsFactory, encryptionServiceFactory, roleEvaluator, null)
 {
 }
 public EncryptedFieldServiceFactory(IEncryptedFieldSettingsFactory settingsFactory, IEncryptionServiceFactory encryptionServiceFactory, IUserRoleEvaluator roleEvaluator, IEncryptedFieldAccessLoggerFactory accessLoggerFactory)
 {
     this.SettingsFactory          = settingsFactory ?? throw new ArgumentNullException("settingsFactory");
     this.EncryptionServiceFactory = encryptionServiceFactory ?? throw new ArgumentNullException("encryptionServiceFactory");
     this.RoleEvaluator            = roleEvaluator ?? throw new ArgumentNullException("roleEvaluator");
     this.AccessLoggerFactory      = accessLoggerFactory;
 }