C# 클래스 SIPSorcery.Entities.SimpleWizardRule

파일 보기 프로젝트 열기: sipsorcery/sipsorcery 1 사용 예제들

Private Properties

프로퍼티 타입 설명
OnCommandChanged void
OnCommandChanging void
OnCommandParameter1Changed void
OnCommandParameter1Changing void
OnCommandParameter2Changed void
OnCommandParameter2Changing void
OnCommandParameter3Changed void
OnCommandParameter3Changing void
OnCommandParameter4Changed void
OnCommandParameter4Changing void
OnDescriptionChanged void
OnDescriptionChanging void
OnDialPlanIDChanged void
OnDialPlanIDChanging void
OnDirectionChanged void
OnDirectionChanging void
OnIDChanged void
OnIDChanging void
OnIsDisabledChanged void
OnIsDisabledChanging void
OnOwnerChanged void
OnOwnerChanging void
OnPatternChanged void
OnPatternChanging void
OnPatternTypeChanged void
OnPatternTypeChanging void
OnPriorityChanged void
OnPriorityChanging void
OnTimePatternChanged void
OnTimePatternChanging void
OnToMatchParameterChanged void
OnToMatchParameterChanging void
OnToMatchTypeChanged void
OnToMatchTypeChanging void
OnToProviderChanged void
OnToProviderChanging void
OnToSIPAccountChanged void
OnToSIPAccountChanging void

공개 메소드들

메소드 설명
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.

비공개 메소드들

메소드 설명
OnCommandChanged ( ) : void
OnCommandChanging ( global value ) : void
OnCommandParameter1Changed ( ) : void
OnCommandParameter1Changing ( global value ) : void
OnCommandParameter2Changed ( ) : void
OnCommandParameter2Changing ( global value ) : void
OnCommandParameter3Changed ( ) : void
OnCommandParameter3Changing ( global value ) : void
OnCommandParameter4Changed ( ) : void
OnCommandParameter4Changing ( global value ) : void
OnDescriptionChanged ( ) : void
OnDescriptionChanging ( global value ) : void
OnDialPlanIDChanged ( ) : void
OnDialPlanIDChanging ( global value ) : void
OnDirectionChanged ( ) : void
OnDirectionChanging ( global value ) : void
OnIDChanged ( ) : void
OnIDChanging ( global value ) : void
OnIsDisabledChanged ( ) : void
OnIsDisabledChanging ( global value ) : void
OnOwnerChanged ( ) : void
OnOwnerChanging ( global value ) : void
OnPatternChanged ( ) : void
OnPatternChanging ( global value ) : void
OnPatternTypeChanged ( ) : void
OnPatternTypeChanging ( global value ) : void
OnPriorityChanged ( ) : void
OnPriorityChanging ( global value ) : void
OnTimePatternChanged ( ) : void
OnTimePatternChanging ( global value ) : void
OnToMatchParameterChanged ( ) : void
OnToMatchParameterChanging ( global value ) : void
OnToMatchTypeChanged ( ) : void
OnToMatchTypeChanging ( global value ) : void
OnToProviderChanged ( ) : void
OnToProviderChanging ( global value ) : void
OnToSIPAccountChanged ( ) : void
OnToSIPAccountChanging ( global value ) : void

메소드 상세

CreateSimpleWizardRule() 공개 정적인 메소드

Create a new SimpleWizardRule object.
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

GetEndHour() 공개 메소드

public GetEndHour ( ) : int
리턴 int

GetEndMinute() 공개 메소드

public GetEndMinute ( ) : int
리턴 int

GetStartHour() 공개 메소드

public GetStartHour ( ) : int
리턴 int

GetStartMinute() 공개 메소드

public GetStartMinute ( ) : int
리턴 int

IsTimeMatch() 공개 메소드

Determines if the current rule should be applied depending on the time pattern that has been applied to it.
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

MatchedDays() 공개 메소드

Gets a list of the days that the rule's time pattern matches.
public MatchedDays ( ) : List
리턴 List