public WithOffBetweenRange ( System.TimeSpan from, System.TimeSpan until ) : |
||
from | System.TimeSpan | |
until | System.TimeSpan | |
return |
public ConditionalOnAutomation WithOffBetweenRange(TimeSpan from, TimeSpan until)
{
WithCondition(ConditionRelation.And, new TimeRangeCondition(_dateTimeService).WithStart(() => from).WithEnd(() => until).WithInversion());
return this;
}