C# Класс CK.Plugins.ObjectExplorer.ViewModels.LogViewModels.VMLogServiceConfig

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

Private Properties

Свойство Тип Описание
UpdatePropertyBag void

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

Метод Описание
ClearConfig ( ) : void

Sets back an "after InitializeFromLoader" state - state in which we ony have empty bound sevices/methods/events/properties removes every unbound method/event/property.

CreateFrom ( VMLogConfig holder, ILogServiceConfig s ) : VMLogServiceConfig
CreateFrom ( VMLogConfig holder, IServiceInfo s ) : VMLogServiceConfig
FindEvent ( string name ) : VMLogEventConfig

Returns the VMLogEventConfig corresponding to the name set as parameter

FindMethod ( string name ) : VMLogMethodConfig

Returns the VMLogMethodConfig corresponding to the signature set as parameter

FindProperty ( string name ) : VMLogPropertyConfig

Returns the VMLogPropertyConfig corresponding to the name set as parameter

UpdateFrom ( ILogServiceConfig s, bool trackChanges ) : bool

Updates all VMLogMethodConfig, VMLogEventConfig and VMLogPropertyConfig to reflect the Log service configuration set as parameter

UpdateFrom ( IPluginConfigAccessor config ) : void
VMLogServiceConfig ( string name, bool isBound ) : System

Instantiates an empty VMLogServiceConfig

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

Метод Описание
UpdatePropertyBag ( ) : void

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

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

Sets back an "after InitializeFromLoader" state - state in which we ony have empty bound sevices/methods/events/properties removes every unbound method/event/property.
public ClearConfig ( ) : void
Результат void

CreateFrom() публичный статический Метод

public static CreateFrom ( VMLogConfig holder, ILogServiceConfig s ) : VMLogServiceConfig
holder VMLogConfig
s ILogServiceConfig
Результат VMLogServiceConfig

CreateFrom() публичный статический Метод

public static CreateFrom ( VMLogConfig holder, IServiceInfo s ) : VMLogServiceConfig
holder VMLogConfig
s IServiceInfo
Результат VMLogServiceConfig

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

Returns the VMLogEventConfig corresponding to the name set as parameter
public FindEvent ( string name ) : VMLogEventConfig
name string
Результат VMLogEventConfig

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

Returns the VMLogMethodConfig corresponding to the signature set as parameter
public FindMethod ( string name ) : VMLogMethodConfig
name string
Результат VMLogMethodConfig

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

Returns the VMLogPropertyConfig corresponding to the name set as parameter
public FindProperty ( string name ) : VMLogPropertyConfig
name string
Результат VMLogPropertyConfig

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

Updates all VMLogMethodConfig, VMLogEventConfig and VMLogPropertyConfig to reflect the Log service configuration set as parameter
public UpdateFrom ( ILogServiceConfig s, bool trackChanges ) : bool
s ILogServiceConfig
trackChanges bool
Результат bool

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

public UpdateFrom ( IPluginConfigAccessor config ) : void
config IPluginConfigAccessor
Результат void

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

Instantiates an empty VMLogServiceConfig
public VMLogServiceConfig ( string name, bool isBound ) : System
name string
isBound bool
Результат System