コード例 #1
0
 public SettingsController(IBaseMongoRepository repository, IStringLocalizer <SettingsController> localizer, IArgonHash hash, IOptions <HashingConfig> hashingConfig)
 {
     _repository    = repository;
     _localizer     = localizer;
     _hash          = hash;
     _hashingConfig = hashingConfig;
 }
コード例 #2
0
 public ProductRepository()
 {
     this.mongoRepository = new MongoRepository(
         "mongodb+srv://luizfelipe:[email protected]/messagers?authSource=admin&replicaSet=Cluster0-shard-0&readPreference=primary&appname=MongoDB%20Compass&ssl=true",
         // "mongodb://localhost:27017",
         "ProductCatalog");
 }
コード例 #3
0
 public RoleService(
     IBaseMongoRepository <Role> repository,
     IBaseMongoRepository <Right> rightRepository,
     IUserService userService
     ) : base(repository)
 {
     _userService     = userService;
     _rightRepository = rightRepository;
 }
コード例 #4
0
 public ContactController(IBaseMongoRepository repository,
                          IEmailService emailService, IEmailMessage emailMessage, EmailAddress emailAddress, IDataProtectionProvider provider)
 {
     _repository   = repository;
     _emailService = emailService;
     _message      = emailMessage;
     _emailAddress = emailAddress;
     _protector    = provider.CreateProtector("email");
 }
コード例 #5
0
 public AccountController(IOptions <HashingConfig> hashingConfig, IBaseMongoRepository repository, IDataProtectionProvider provider,
                          IConfiguration config, IStringLocalizer <string> localizer, IArgonHash argonHash)
 {
     _repository    = repository;
     _hashingConfig = hashingConfig;
     _protector     = provider.CreateProtector("email");
     _config        = config;
     _localizer     = localizer;
     _argonHash     = argonHash;
 }
コード例 #6
0
 public ExampleService(ILogger logger, KxClient client, IFolderWatcher folderWatcher, IOptions <DocumentTypeConfiguration> documentTypeConfiguration, IVirtualUserConnector virtualUserConnector, IBaseMongoRepository repository, IOptions <ProcessDocumentConfiguration> timerconfig)
 {
     this.logger               = logger;
     this.client               = client;
     this.folderWatcher        = folderWatcher;
     this.virtualUserConnector = virtualUserConnector;
     this.repository           = repository;
     this.timerconfig          = timerconfig.Value;
     this.documentTypeConfig   = documentTypeConfiguration.Value;
     typesToArchive            = documentTypeConfig.ToArchive;
     typesToSendToVu           = documentTypeConfig.ToSendToVirtualUser;
 }
コード例 #7
0
 public EmailController(IEmailService emailService, IEmailMessage message, IDataProtectionProvider provider, IConfiguration config,
                        EmailAddress address, IBaseMongoRepository repository, EmailConfirmation emailConfirmation,
                        Registration registration, ForgotPassword forgotPassword)
 {
     _repository        = repository;
     _emailService      = emailService;
     _message           = message;
     _emailAddress      = address;
     _protector         = provider.CreateProtector("email");
     _config            = config;
     _registration      = registration;
     _emailConfirmation = emailConfirmation;
     _forgotPassword    = forgotPassword;
 }
コード例 #8
0
 public AccountRepository(IBaseMongoRepository mongoRepository)
     : base(mongoRepository)
 {
 }
コード例 #9
0
 public Registration(IBaseMongoRepository repository) : base(repository)
 {
 }
コード例 #10
0
 public BaseService(IBaseMongoRepository <TBaseEntity> repository)
 {
     _repository = repository;
 }
コード例 #11
0
 public BaseService(IBaseMongoRepository repository)
 {
     _repository = repository;
 }
コード例 #12
0
 public ProfileController(IBaseMongoRepository repository, IStringLocalizer <ProfileController> localizer)
 {
     _repository = repository;
     _localizer  = localizer;
 }
コード例 #13
0
 public ForgotPassword(IBaseMongoRepository repository) : base(repository)
 {
 }
コード例 #14
0
 public BuildingService(IBaseMongoRepository repository) : base(repository)
 {
     _repository = repository;
 }
コード例 #15
0
 public RightService(IBaseMongoRepository <Right> repository, IRoleService roleService) : base(repository)
 {
     _roleService = roleService;
 }
コード例 #16
0
 public ValuesController(IBaseMongoRepository baseMongoRepository)
 {
     this.baseMongoRepository = baseMongoRepository;
 }
コード例 #17
0
 public UserRepository(IBaseMongoRepository mongoRepository)
     : base(mongoRepository)
 {
 }
コード例 #18
0
 public ApartmentService(IBaseMongoRepository repository) : base(repository)
 {
     _repository = repository;
 }
コード例 #19
0
 public ProductRepository()
 {
     this.mongoRepository = new MongoRepository(
         "mongodb://localhost:27017",
         "ProductCatalog");
 }
コード例 #20
0
 public AssetService(IBaseMongoRepository <Asset> repository, IConfiguration configuration) : base(repository)
 {
     _configuration = configuration;
 }
コード例 #21
0
 public AssetErrorService(IBaseMongoRepository <AssetError> repository) : base(repository)
 {
 }
コード例 #22
0
 public UserService(IBaseMongoRepository <User> repository, IBaseMongoRepository <Role> roleRepository, IConfiguration configuration) : base(repository)
 {
     _configuration  = configuration;
     _roleRepository = roleRepository;
 }
コード例 #23
0
 public LandingController(IBaseMongoRepository repository)
 {
     _repository = repository;
 }
コード例 #24
0
 public ServicesService(IBaseMongoRepository repository) : base(repository)
 {
     _repository = repository;
 }
コード例 #25
0
 public BaseRepository(IBaseMongoRepository mongoRepository)
 {
     this.MongoRepository = mongoRepository;
 }
コード例 #26
0
 public EmailConfirmation(IBaseMongoRepository repository) : base(repository)
 {
 }
コード例 #27
0
ファイル: EmailBody.cs プロジェクト: popraducj/building-admin
 public EmailBody(IBaseMongoRepository repository)
 {
     _repository = repository;
 }