Exemplo n.º 1
0
 public DiagnosticModule(IConfigurationRoot jimuAppSettings) : base(jimuAppSettings)
 {
     _options = jimuAppSettings.GetSection(typeof(DiagnosticServerOptions).Name).Get <DiagnosticServerOptions>();
     if (_options == null)
     {
         _options = new DiagnosticServerOptions();
     }
 }
Exemplo n.º 2
0
 public DiagnosticServer(DiagnosticServerOptions options)
 {
     _diagnosticListener = new DiagnosticListener(ListenerName);
     _options            = options;
 }