Ejemplo n.º 1
0
 public HomeController(ICacheService mycache, IUserService userService, ILogProvider logProvider) : base(logProvider)
 {
     //INJECTING LoggerFactory INTO MVC CONTROLLERS DOESNT WORK !!! .Net Core Bug fix ?? Build at 2.0
     this._mycache     = mycache;
     this._userService = userService;
     this._logger      = logProvider.CreateLogger <HomeController>();
 }
 public SignalRMessageRepeaterService(IBackgroundTaskQueue taskQueue,
                                      ILogProvider logProvider,
                                      IHubContext <TestHub> testHub,
                                      IConnectionManager connectionManager) : base(taskQueue, logProvider)
 {
     this._logger            = logProvider.CreateLogger <SignalRMessageRepeaterService>();
     this._taskQueue         = taskQueue;
     this._testHub           = testHub;
     this._connectionManager = connectionManager;
 }
Ejemplo n.º 3
0
 public UserBus(IConnection connection, IUserService userService, IBackgroundTaskQueue taskQueue, ILogProvider logProvider) : base(taskQueue, logProvider)
 {
     this._userService    = userService;
     this._taskQueue      = taskQueue;
     this._logger         = logProvider.CreateLogger <UserBus>();
     this._channel        = connection.CreateModel();
     this._consumerAdd    = new AddEvent(this._channel);
     this._consumerUpdate = new UpdateEvent(this._channel);
     this._consumerDelete = new DeleteEvent(this._channel);
 }
Ejemplo n.º 4
0
 public BaseHub(IConnectionManager connectionManager, ILogProvider logProvider, IBackgroundTaskQueue queue)
 {
     this._logger            = logProvider.CreateLogger <BaseHub <THub> >();
     this._connectionManager = connectionManager;
     this._queue             = queue;
 }
Ejemplo n.º 5
0
 public TestController(IUserService userService, ILogProvider logProvider)
 {
     this._userService = userService;
     this._logger      = logProvider.CreateLogger <TestController>();
 }
Ejemplo n.º 6
0
 public TestHub(IConnectionManager connectionManager, ILogProvider logProvider) : base(connectionManager, logProvider)
 {
     this._logger = logProvider.CreateLogger <TestHub>();
 }
Ejemplo n.º 7
0
 public BaseHub(IConnectionManager connectionManager, ILogProvider logProvider)
 {
     this._logger            = logProvider.CreateLogger <BaseHub <THub> >();
     this._connectionManager = connectionManager;
 }
Ejemplo n.º 8
0
 public TestHub(IConnectionManager connectionManager, ILogProvider logProvider, IBackgroundTaskQueue queue) : base(connectionManager, logProvider, queue)
 {
     this._logger = logProvider.CreateLogger <TestHub>();
 }
Ejemplo n.º 9
0
 public UserService(IUserRepository userRepository, ILogProvider logProvider)
 {
     this._userRepository = userRepository;
     this._logger         = logProvider.CreateLogger <UserService>();
 }
Ejemplo n.º 10
0
 public BaseController(ILogProvider logProvider)
 {
     this._logger = logProvider.CreateLogger <BaseController>();
 }
Ejemplo n.º 11
0
 public QueuedHostedService(IBackgroundTaskQueue taskQueue, ILogProvider logProvider)
 {
     this.TaskQueue       = taskQueue;
     logProvider.UseQueue = false;
     this._logger         = logProvider.CreateLogger <QueuedHostedService>();
 }
Ejemplo n.º 12
0
 public ConnectionManager(ILogProvider logService)
 {
     this._logger = logService.CreateLogger <ConnectionManager>();
     connections  = new ConcurrentDictionary <string, Dictionary <string, AuthEntity> >();
 }
Ejemplo n.º 13
0
 public UserService(IUserRepository userRepository, ILogProvider logProvider, IBackgroundTaskQueue queue)
 {
     this._userRepository = userRepository;
     this._logger         = logProvider.CreateLogger <UserService>();
     this._queue          = queue;
 }