protected QuestionValidator( IMapper mapper, IContext context, IHashComputer hashComputer, IRepository <DatabaseQuestion> repositoryQuestion) { Mapper = mapper; Context = context; HashComputer = hashComputer; RepositoryQuestion = repositoryQuestion; }
public UserRepository( Lazy <IDbContext> dbContextLazy, IGuidFactory guidFactory, IMapper mapper, IHashComputer hashComputer, IClaimContext <UserClaim> claimContext) : base(dbContextLazy) { this.guidFactory = guidFactory; this.mapper = mapper; this.hashComputer = hashComputer; this.claimContext = claimContext; }
public QuestionValidatorClosedManyAnswers( IMapper mapper, IContext context, IHashComputer hashComputer, IRepository <DatabaseQuestion> repositoryQuestion) : base( mapper, context, hashComputer, repositoryQuestion) { }
public QuestionValidatorOpenedOneString( IMapper mapper, IContext context, IHashComputer hashComputer, IRepository <DatabaseQuestion> repositoryQuestion) : base( mapper, context, hashComputer, repositoryQuestion) { }
protected QuestionValidatorClosedAnswer( IMapper mapper, IContext context, IHashComputer hashComputer, IRepository <DatabaseQuestion> repositoryQuestion) : base( mapper, context, hashComputer, repositoryQuestion) { }
public QuestionValidatorWithProgram( IMapper mapper, IContext context, IHashComputer hashComputer, IRepository <DatabaseQuestion> repositoryQuestion, ICodeRunner codeRunner) : base( mapper, context, hashComputer, repositoryQuestion) { _codeRunner = codeRunner; }
public ResolverQuestionHash(IContext context, IHashComputer hashComputer) { _context = context; _hashComputer = hashComputer; }
static SecuredValueHashComputer() { Secret = "zomg!"; HashComputer = new SHA1HashComputer(); }
public PasswordManager(IHashComputer hashComputer) { _hashComputer = hashComputer; }
static SecuredValueHashComputer() { Secret = Config.GetSecret(); HashComputer = new SHA1HashComputer(); }
public FileHasher(IO.IFileReader reader, IHashComputer hashComputer) { this.reader = reader ?? throw new ArgumentNullException(nameof(reader)); this.hashComputer = hashComputer ?? throw new ArgumentNullException(nameof(hashComputer)); }