C# Class ProtocolManagerModel.VMProtocolEditorsProvider

Inheritance: INotifyPropertyChanged, IProtocolEditorRoot
Afficher le fichier Open project: Invenietis/ck-certified Class Usage Examples

Protected Properties

Свойство Type Description
_vmProtocolEditor VMProtocolEditor

Méthodes publiques

Méthode Description
AddEditor ( string protocol, VMProtocolEditorWrapper wrapper, Type handlingService ) : void
CreateKeyCommand ( string keyCommand, IKeyMode editedKeyMode ) : void
FlushCurrentProtocolEditor ( ) : void
GetHandlingService ( string protocol ) : Type

Used by the keyboard editor to get the service linked to a protocol. Enables adding the service into the keyboard's requirement layer.

GetProtocolEditorWrapper ( string protocol ) : VMProtocolEditorWrapper

Gets the VMProtocolEditorWrapper for the specified protocol. If the protocol is not handled, returns an empty VMProtocolEditorWrapper, with a IsValid property returning false

InitializeProtocolEditor ( IKeyMode editedKeyMode ) : void
RemoveEditor ( string protocol ) : void
VMProtocolEditorsProvider ( ) : System

Méthodes protégées

Méthode Description
OnChildPropertyChanged ( object sender, PropertyChangedEventArgs e ) : void

Private Methods

Méthode Description
OnPropertyChanged ( string propertyName ) : void

Method Details

AddEditor() public méthode

public AddEditor ( string protocol, VMProtocolEditorWrapper wrapper, Type handlingService ) : void
protocol string
wrapper VMProtocolEditorWrapper
handlingService System.Type
Résultat void

CreateKeyCommand() public méthode

public CreateKeyCommand ( string keyCommand, IKeyMode editedKeyMode ) : void
keyCommand string
editedKeyMode IKeyMode
Résultat void

FlushCurrentProtocolEditor() public méthode

public FlushCurrentProtocolEditor ( ) : void
Résultat void

GetHandlingService() public méthode

Used by the keyboard editor to get the service linked to a protocol. Enables adding the service into the keyboard's requirement layer.
public GetHandlingService ( string protocol ) : Type
protocol string A protocol
Résultat System.Type

GetProtocolEditorWrapper() public méthode

Gets the VMProtocolEditorWrapper for the specified protocol. If the protocol is not handled, returns an empty VMProtocolEditorWrapper, with a IsValid property returning false
public GetProtocolEditorWrapper ( string protocol ) : VMProtocolEditorWrapper
protocol string The protocol (ex : sendString, sendKey, keyboardswitch...)
Résultat VMProtocolEditorWrapper

InitializeProtocolEditor() public méthode

public InitializeProtocolEditor ( IKeyMode editedKeyMode ) : void
editedKeyMode IKeyMode
Résultat void

OnChildPropertyChanged() protected méthode

protected OnChildPropertyChanged ( object sender, PropertyChangedEventArgs e ) : void
sender object
e System.ComponentModel.PropertyChangedEventArgs
Résultat void

RemoveEditor() public méthode

public RemoveEditor ( string protocol ) : void
protocol string
Résultat void

VMProtocolEditorsProvider() public méthode

public VMProtocolEditorsProvider ( ) : System
Résultat System

Property Details

_vmProtocolEditor protected_oe property

protected VMProtocolEditor,ProtocolManagerModel _vmProtocolEditor
Résultat VMProtocolEditor