Метод | Описание | |
---|---|---|
CreateSimpleWizardRule ( global id, global owner, global dialPlanID, global direction, global priority, global command, global commandParameter1, global isDisabled ) : SimpleWizardRule |
Create a new SimpleWizardRule object.
|
|
GetEndHour ( ) : int | ||
GetEndMinute ( ) : int | ||
GetStartHour ( ) : int | ||
GetStartMinute ( ) : int | ||
IsTimeMatch ( DateTimeOffset now, string timezone ) : bool |
Determines if the current rule should be applied depending on the time pattern that has been applied to it.
|
|
MatchedDays ( ) : List |
Gets a list of the days that the rule's time pattern matches.
|
public static CreateSimpleWizardRule ( global id, global owner, global dialPlanID, global direction, global priority, global command, global commandParameter1, global isDisabled ) : SimpleWizardRule | ||
id | global | Initial value of the ID property. |
owner | global | Initial value of the Owner property. |
dialPlanID | global | Initial value of the DialPlanID property. |
direction | global | Initial value of the Direction property. |
priority | global | Initial value of the Priority property. |
command | global | Initial value of the Command property. |
commandParameter1 | global | Initial value of the CommandParameter1 property. |
isDisabled | global | Initial value of the IsDisabled property. |
Результат | SimpleWizardRule |
public IsTimeMatch ( DateTimeOffset now, string timezone ) : bool | ||
now | DateTimeOffset | |
timezone | string | The timezone to adjust for. This will typically be the timezone set by the user that owns /// the dialplan. If no timezone is specified UTC will be assumed. |
Результат | bool |