public HubRepository(ApplicationDbContext context, UserManager <ApplicationUser> userManager, IHttpContextAccessor httpContext, IHubLogger hubLogger) { _context = context; _userManager = userManager; _httpContext = httpContext; _hubLogger = hubLogger; }
public ChatHub(IHubRepository hubRepository, IHubLogger hubLogger) { _hubRepository = hubRepository; _hubLogger = hubLogger; }
public ErrorHandlingPipelineModule() { _slabLogger = UnityConfiguration.GetConfiguredContainer().Resolve <IHubLogger>(); }
public SendHubSync(IHubLogger slabLogger) { _slabLogger = slabLogger; _hubContext = GlobalHost.ConnectionManager.GetHubContext <HubSync>(); }
/// <summary> /// Unit注入 /// </summary> /// <param name="slabLogger"></param> public HubSync(IHubLogger slabLogger) { _slabLogger = slabLogger; }
public AntSoaHub(IHubLogger slabLogger) { _slabLogger = slabLogger; }
public ErrorHandlingPipelineModule() { _slabLogger = UnityConfiguration.GetConfiguredContainer().Resolve<IHubLogger>(); }
public ErrorHandlingPipelineModule(IHubLogger logger) { _slabLogger = logger; }
public LoggingPipelineModule(IHubLogger logger) { _slabLogger = logger; }
public SendHubSync(IHubLogger slabLogger) { _slabLogger = slabLogger; _hubContext = GlobalHost.ConnectionManager.GetHubContext<HubSync>(); }