Ejemplo n.º 1
0
 public ChatHub(MagicOnionActivitySources magiconionActivity, BackendActivitySources backendActivity)
 {
     this.magiconionActivity = magiconionActivity.Current;
     this.mysqlActivity      = backendActivity.Get("mysql");
     this.redisActivity      = backendActivity.Get("redis");
 }
Ejemplo n.º 2
0
 public ChatService(ILogger <ChatService> logger, BackendActivitySources backendActivity)
 {
     this.mysqlActivitySource = backendActivity.Get("mysql");
     this.logger = logger;
 }