C# Класс ProtocolManagerModel.VMProtocolEditorWrapper

Наследование: INotifyPropertyChanged
Показать файл Открыть проект Примеры использования класса

Private Properties

Свойство Тип Описание
OnPropertyChanged void
VMProtocolEditorWrapper System

Открытые методы

Метод Описание
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).

Приватные методы

Метод Описание
OnPropertyChanged ( string propertyName ) : void
VMProtocolEditorWrapper ( string protocol, string name ) : System

Internal ctor used to create an invalid KeyCommandTypeViewModel

Описание методов

VMProtocolEditorWrapper() публичный Метод

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.
Результат System

VMProtocolEditorWrapper() публичный Метод

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.
Результат System