C# Class ProtocolManagerModel.VMProtocolEditorWrapper

Inheritance: INotifyPropertyChanged
显示文件 Open project: Invenietis/ck-certified Class Usage Examples

Private Properties

Property Type Description
OnPropertyChanged void
VMProtocolEditorWrapper System

Public Methods

Method Description
VMProtocolEditorWrapper ( string protocol, string name, string description, Func keyCommandParameterManagerFunc ) : System

Valid Constructor for a KeyCommandType, this object must be capable of creating on the fly its KeyCommandParameterManager. Here by using the Func set as parameter.

VMProtocolEditorWrapper ( string protocol, string name, string description, Type keyCommandParameterManagerType ) : System

Valid Constructor for a KeyCommandType, this object must be capable of creating on the fly its KeyCommandParameterManager. Here by using Activator.CreateInstance(Type).

Private Methods

Method Description
OnPropertyChanged ( string propertyName ) : void
VMProtocolEditorWrapper ( string protocol, string name ) : System

Internal ctor used to create an invalid KeyCommandTypeViewModel

Method Details

VMProtocolEditorWrapper() public method

Valid Constructor for a KeyCommandType, this object must be capable of creating on the fly its KeyCommandParameterManager. Here by using the Func set as parameter.
public VMProtocolEditorWrapper ( string protocol, string name, string description, Func keyCommandParameterManagerFunc ) : System
protocol string The protocol that is handled.
name string The name displayed in the list of available editors. Must be multilingual.
description string A description of the protocol that is handled by this object. Must be multilingual.
keyCommandParameterManagerFunc Func A Func that returns an instance of an implementation of IKeyCommandParameterManager that handles a protocol. Must not return null.
return System

VMProtocolEditorWrapper() public method

Valid Constructor for a KeyCommandType, this object must be capable of creating on the fly its KeyCommandParameterManager. Here by using Activator.CreateInstance(Type).
public VMProtocolEditorWrapper ( string protocol, string name, string description, Type keyCommandParameterManagerType ) : System
protocol string The protocol that is handled.
name string The name displayed in the list of available editors. Must be multilingual.
description string A description of the protocol that is handled by this object. Must be multilingual.
keyCommandParameterManagerType System.Type The type of the IKeyCommandParameterMaanger that handles the parameters of this protocol. Must implement IKeyCommandParameter.
return System