示例#1
0
 /// <summary>
 /// Create a new agent configuration, starting with the application's configuration file data.
 /// </summary>
 public AgentConfiguration()
 {
     // MR: We've traditionally created these by default so the app can just walk properties to get defaults, but
     // is that conventional for .NET Core?  Or should we make them create them.
     Listener      = new ListenerConfiguration();
     NetworkViewer = new NetworkViewerConfiguration();
     Packager      = new PackagerConfiguration();
     Publisher     = new PublisherConfiguration();
     Server        = new ServerConfiguration();
     SessionFile   = new SessionFileConfiguration();
 }
示例#2
0
 /// <summary>
 /// Create a new agent configuration, starting with the application's configuration file data.
 /// </summary>
 public AgentConfiguration()
 {
     AspNet        = new AspNetConfiguration();
     Listener      = new ListenerConfiguration();
     NetworkViewer = new NetworkViewerConfiguration();
     Packager      = new PackagerConfiguration();
     Performance   = new PerformanceConfiguration();
     Properties    = new Dictionary <string, string>(StringComparer.OrdinalIgnoreCase);
     Publisher     = new PublisherConfiguration();
     Server        = new ServerConfiguration();
     SessionFile   = new SessionFileConfiguration();
 }
示例#3
0
 /// <summary>
 /// Create a new agent configuration, starting with the application's configuration file data.
 /// </summary>
 public AgentConfiguration()
 {
     // MR: We've traditionally created these by default so the app can just walk properties to get defaults, but
     // is that conventional for .NET Core?  Or should we make them create them.
     Listener      = new ListenerConfiguration();
     NetworkViewer = new NetworkViewerConfiguration();
     Packager      = new PackagerConfiguration();
     Performance   = new PerformanceConfiguration();
     Properties    = new Dictionary <string, string>(StringComparer.OrdinalIgnoreCase);
     Publisher     = new PublisherConfiguration();
     Server        = new ServerConfiguration();
     SessionFile   = new SessionFileConfiguration();
 }