示例#1
0
 public AdminController(IDocumentStoreHolder documentStoreHolder, IMapper mapper, IUrlHelper urlHelper,
                        ISchedulerMailer schedulerMailer, DataServiceConfiguration dataServiceConfiguration)
 {
     _store                    = documentStoreHolder.Store;
     _mapper                   = mapper;
     _urlHelper                = urlHelper;
     _schedulerMailer          = schedulerMailer;
     _dataServiceConfiguration = dataServiceConfiguration;
 }
        public ExportDataController(IDocumentStoreHolder documentStore, IOptions <GigDataServiceConfig> gigDataServiceConfig)
        {
            this._documentStore   = documentStore.Store;
            _gigDataServiceConfig = gigDataServiceConfig.Value;

            if (string.IsNullOrEmpty(_gigDataServiceConfig?.PlatformToken))
            {
                Serilog.Log.Fatal("Missing app setting for PlatformToken. Token {PlatformToken}", _gigDataServiceConfig?.PlatformToken);
                throw new Exception("Internal server error. ");
            }
        }
 public ChatController(UserManager <ApplicationUser> userManager, IHubContext <SignalRHub, ISignalRHub> chatHub, IDocumentStoreHolder documentStore,
                       IGroupChatService groupChatService)
 {
     _userManager      = userManager;
     _signalRHub       = chatHub;
     _groupChatService = groupChatService;
 }
 public HomeController(IDocumentStoreHolder documentStore, IMockPlatformHttpClient mockPlatformHttpClient)
 {
     this._documentStore     = documentStore.Store;
     _mockPlatformHttpClient = mockPlatformHttpClient;
 }
 public GroupChatService(IDocumentStoreHolder documentStore, IHubContext <SignalRHub, ISignalRHub> signalRHub)
 {
     _documentStore = documentStore;
     _signalRHub    = signalRHub;
 }
示例#6
0
 public DutyController(IDocumentStoreHolder storeHolder)
 {
     _store = storeHolder.Store;
 }
示例#7
0
 public OriginatorController(DataServiceConfiguration configuration, IDocumentStoreHolder storeHolder, IMapper mapper)
 {
     _configuration = configuration;
     _store         = storeHolder.Store;
     _mapper        = mapper;
 }
示例#8
0
        public HomeController(IDocumentStoreHolder documentStoreHolder)
        {
            _store = documentStoreHolder.Store;

            Session = _store.OpenSession();
        }
 public RavenRageDatabaseServerService(IDocumentStoreHolder storeHolder)
 {
     _store = storeHolder.Store;
 }
 public ShoutBoxController(UserManager <ApplicationUser> userManager, IHubContext <SignalRHub, ISignalRHub> signalRHub, IDocumentStoreHolder documentStoreHolder)
 {
     _userManager         = userManager;
     _signalRHub          = signalRHub;
     _documentStoreHolder = documentStoreHolder;
 }
 public ChangePasswordController(IDocumentStoreHolder storeHolder)
 {
     _store = storeHolder.Store;
 }
示例#12
0
 public UserController(IDocumentStoreHolder documentStoreHolder, IMapper mapper)
 {
     _store  = documentStoreHolder.Store;
     _mapper = mapper;
 }
 public UserRepository(IDocumentStoreHolder storeHolder)
 {
     _store = storeHolder.Store;
 }
示例#14
0
 public RavenDbDataManager(IDocumentStoreHolder documentsStoreHolder)
 {
     store = documentsStoreHolder.Store;
 }
 public RavenTalkService(IDocumentStoreHolder storeHolder)
 {
     this.store = storeHolder.Store;
 }
示例#16
0
 public UserController(IDocumentStoreHolder documentStore)
 => this._documentStore = documentStore.Store;
示例#17
0
 public PeopleRepository(IDocumentStoreHolder store)
 {
     _store = store;
 }
示例#18
0
 public RavenDatabaseCheckService(IDocumentStoreHolder documentStoreHolder)
 {
     this.store = documentStoreHolder.Store;
 }