Esempio n. 1
0
 public static bool IsRaw(TimeSeriesPolicy policy) => policy.Name == PolicyString;
Esempio n. 2
0
 public ConfigureTimeSeriesPolicyOperation(string collection, TimeSeriesPolicy config)
 {
     _collection = collection;
     _config     = config;
 }
Esempio n. 3
0
 public ConfigureTimeSeriesPolicyCommand(string collection, TimeSeriesPolicy configuration)
 {
     _configuration = configuration ?? throw new ArgumentNullException(nameof(configuration));
     _collection    = collection ?? throw new ArgumentNullException(nameof(collection));
 }
Esempio n. 4
0
 internal TimeSeriesPolicy GetNextPolicy(TimeSeriesPolicy policy)
 {
     GetPolicyByName(policy.Name, out var index);
     return(GetNextPolicy(index));
 }