Beispiel #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);
 }
Beispiel #2
0
 /// <summary>
 /// The class instance constructor.
 /// </summary>
 /// <param name="signals">See <see cref="ISignals"/>.</param>
 /// <param name="diagnosticSettings">See <see cref="DiagnosticSettings"/>.</param>
 /// <param name="peerStatisticsCollector">See <see cref="PeerStatisticsCollector"/>.</param>
 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));
 }