Configuration related to the API interface.
Exemplo n.º 1
0
 /// <summary>
 /// Prints command-line help.
 /// </summary>
 /// <param name="network">The network to extract values from.</param>
 public static void PrintHelp(Network network)
 {
     DiagnosticSettings.PrintHelp(network);
 }
Exemplo n.º 2
0
 public DiagnosticFeature(ISignals signals, DiagnosticSettings diagnosticSettings, PeerStatisticsCollector peerStatisticsCollector)
 {
     this.signals                 = Guard.NotNull(signals, nameof(signals));
     this.diagnosticSettings      = Guard.NotNull(diagnosticSettings, nameof(diagnosticSettings));
     this.peerStatisticsCollector = Guard.NotNull(peerStatisticsCollector, nameof(peerStatisticsCollector));
 }