public TimeFilter(Nomad.Commons.TimeComparision comparision, TimeSpan time) { this.TimeComparision = Nomad.Commons.TimeComparision.Ignore; if ((comparision == Nomad.Commons.TimeComparision.Between) || (comparision == Nomad.Commons.TimeComparision.NotBetween)) { throw new ArgumentOutOfRangeException(); } this.TimeComparision = comparision; this.FromTime = time; }
public TimeFilter() { this.TimeComparision = Nomad.Commons.TimeComparision.Ignore; }