Beispiel #1
0
 public ProfileManager(IProfileSerializer serializer, IStorage storage, IOptions <ProfileManagerOptions> options, IAccessKeyProtector?protector = null)
 {
     _serializer = serializer;
     _storage    = storage;
     _options    = options;
     _protector  = protector;
 }
Beispiel #2
0
 public ProfileManager(IInputValidator validator, IProfileSerializer serializer, IStorage storage, IOptions <ProfileManagerOptions> options, IAccessKeyProtector?protector = null)
 {
     _validator  = validator;
     _serializer = serializer;
     _storage    = storage;
     _config     = options.Value;
     _protector  = protector;
 }