C# Class SIPSorcery.SimpleWizardInRuleControl

Inheritance: System.Windows.Controls.UserControl
Afficher le fichier Open project: sipsorcery/sipsorcery

Méthodes publiques

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

Private Methods

Méthode 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 méthode

public PopulateToSIPAccounts ( EntitySet toAccounts ) : void
toAccounts EntitySet
Résultat void

SetErrorMessage() public méthode

public SetErrorMessage ( string errorMessage ) : void
errorMessage string
Résultat void

SetRuleToUpdate() public méthode

public SetRuleToUpdate ( SimpleWizardRule rule ) : void
rule SIPSorcery.Entities.SimpleWizardRule
Résultat void

SetStatusMessage() public méthode

public SetStatusMessage ( string status, bool disableInput ) : void
status string
disableInput bool
Résultat void

SimpleWizardInRuleControl() public méthode

public SimpleWizardInRuleControl ( ) : System
Résultat System