27 namespace Ntp.Analyzer.Config.Node
34 DateTimeKind? timeStamp,
42 this.frequency = frequency ?? 0;
43 this.initialRun = initialRun;
44 this.fixedRun = fixedRun;
45 this.timeStamp = timeStamp;
57 public DateTimeKind TimeStampConfig => timeStamp ?? DateTimeKind.Utc;
61 public bool InitialRunConfig => initialRun ??
true;
65 public bool FixedRunConfig => fixedRun ??
true;
69 public string FrequencyConfig => Bulk != null ? Bulk.
Name : frequency.ToString();
71 public DateTimeKind TimeStamp => Bulk?.TimeStamp ?? (timeStamp ?? TimeStampConfig);
73 public bool InitialRun => Bulk?.InitialRun ?? InitialRunConfig;
75 public bool FixedRun => Bulk?.FixedRun ?? FixedRunConfig;
77 public int Frequency => Bulk?.Frequency ?? frequency;
Configuration class for subsections of a HostConfiguration.
StatConfiguration(string configName, ReadingBulkConfiguration bulk, DateTimeKind?timeStamp, int?frequency, bool?initialRun, bool?fixedRun)
readonly DateTimeKind timeStamp