Пример #1
0
 public VyooResponder(BamConf conf, ILogger logger, bool verbose = false)
     : base(conf, logger)
 {
     ContentResponder = new ContentResponder(conf, logger);
     if (verbose)
     {
         WireResponseLogging(ContentResponder, logger);
         ContentResponder.Subscribe(logger);
     }
 }
Пример #2
0
 public VyooResponder(AppConf[] appConfigs, ILogger logger, bool verbose = false) : base(BamConf.Load(), logger)
 {
     ContentResponder = new ContentResponder(logger)
     {
         AppConfigs = appConfigs
     };
     if (verbose)
     {
         WireResponseLogging(ContentResponder, logger);
         ContentResponder.Subscribe(logger);
     }
 }