C# Class HA4IoT.Conditions.Specialized.TimeRangeCondition

Inheritance: System.Condition
Mostra file Open project: chkr1011/CK.HomeAutomation Class Usage Examples

Private Properties

Property Type Description
Check ConditionState

Public Methods

Method Description
TimeRangeCondition ( IDateTimeService dateTimeService ) : System
WithEnd ( Func end ) : TimeRangeCondition
WithEnd ( System.TimeSpan end ) : TimeRangeCondition
WithEndAdjustment ( System.TimeSpan value ) : TimeRangeCondition
WithStart ( Func start ) : TimeRangeCondition
WithStart ( System.TimeSpan start ) : TimeRangeCondition
WithStartAdjustment ( System.TimeSpan value ) : TimeRangeCondition

Private Methods

Method Description
Check ( ) : ConditionState

Method Details

TimeRangeCondition() public method

public TimeRangeCondition ( IDateTimeService dateTimeService ) : System
dateTimeService IDateTimeService
return System

WithEnd() public method

public WithEnd ( Func end ) : TimeRangeCondition
end Func
return TimeRangeCondition

WithEnd() public method

public WithEnd ( System.TimeSpan end ) : TimeRangeCondition
end System.TimeSpan
return TimeRangeCondition

WithEndAdjustment() public method

public WithEndAdjustment ( System.TimeSpan value ) : TimeRangeCondition
value System.TimeSpan
return TimeRangeCondition

WithStart() public method

public WithStart ( Func start ) : TimeRangeCondition
start Func
return TimeRangeCondition

WithStart() public method

public WithStart ( System.TimeSpan start ) : TimeRangeCondition
start System.TimeSpan
return TimeRangeCondition

WithStartAdjustment() public method

public WithStartAdjustment ( System.TimeSpan value ) : TimeRangeCondition
value System.TimeSpan
return TimeRangeCondition