Пример #1
0
 public Retention(TimeSpan precision, int history)
 {
     Precision = new Precision(precision);
     History   = new History(TimeSpan.FromSeconds(Precision * history), precision);
 }
Пример #2
0
 public Retention(TimeSpan precision, TimeSpan history)
 {
     Precision = new Precision(precision);
     History   = new History(history, precision);
 }