Esempio n. 1
0
 public ApplicationManager(
     IOptions <ApplicationOptions> options,
     IApplicationStore <TApplication> store,
     IPasswordHasher <TApplication> passwordHasher,
     IEnumerable <IApplicationValidator <TApplication> > applicationValidators,
     ILogger <ApplicationManager <TApplication> > logger,
     ApplicationErrorDescriber errorDescriber)
 {
     Options               = options.Value;
     Store                 = store;
     PasswordHasher        = passwordHasher;
     ApplicationValidators = applicationValidators;
     ErrorDescriber        = errorDescriber;
     Logger                = Logger;
 }
Esempio n. 2
0
 public ApplicationValidator(ApplicationErrorDescriber errorDescriber)
 {
     ErrorDescriber = errorDescriber;
 }