C# Class SIPSorcery.SimpleWizardInRuleControl

Inheritance: System.Windows.Controls.UserControl
Datei anzeigen Open project: sipsorcery/sipsorcery

Public Methods

Method Description
PopulateToSIPAccounts ( EntitySet toAccounts ) : void
SetErrorMessage ( string errorMessage ) : void
SetRuleToUpdate ( SimpleWizardRule rule ) : void
SetStatusMessage ( string status, bool disableInput ) : void
SimpleWizardInRuleControl ( ) : System

Private Methods

Method Description
AnyTimeChecked ( object sender, System e ) : void
Cancel ( object sender, System e ) : void
CloseErrroMessage ( object sender, System e ) : void
GetTimePattern ( SimpleWizardRule rule ) : string

Extracts the time pattern from the UI controls that represent a rule that's being applied for a specific time.

RuleCommandTypeSelectionChanged ( object sender, System e ) : void
SetRuleCommandFields ( SimpleWizardRule rule ) : string

Sets the value of the rules properties based on the UI controls representing command parameters. The rule's command type dictates which input fields will be used for each command parameter.

SetRuleToMatchFields ( SimpleWizardRule rule ) : string

Sets the To header match portions of the simple wizard rule based on the UI values.

SetUICommandFieldsForRule ( SimpleWizardRule rule ) : void

Sets the content of the UI controls representing command parameter fields based on the specified rule. The command parameters mean different things and apply to different controls dependent on the rule's command type.

SetUIToMatchFields ( SimpleWizardRule rule ) : void

Sets the UI elements based on the To match type and paramters.

SpecificTimeChecked ( object sender, System e ) : void
Submit ( object sender, System e ) : void
ToMatchTypeChanged ( object sender, System e ) : void
Validate ( SimpleWizardRule rule ) : string

Method Details

PopulateToSIPAccounts() public method

public PopulateToSIPAccounts ( EntitySet toAccounts ) : void
toAccounts EntitySet
return void

SetErrorMessage() public method

public SetErrorMessage ( string errorMessage ) : void
errorMessage string
return void

SetRuleToUpdate() public method

public SetRuleToUpdate ( SimpleWizardRule rule ) : void
rule SIPSorcery.Entities.SimpleWizardRule
return void

SetStatusMessage() public method

public SetStatusMessage ( string status, bool disableInput ) : void
status string
disableInput bool
return void

SimpleWizardInRuleControl() public method

public SimpleWizardInRuleControl ( ) : System
return System