C# Class CK.Plugins.ObjectExplorer.ViewModels.LogViewModels.VMLogServiceConfig

Inheritance: VMLogBaseElement, ILogServiceConfig
Show file Open project: Invenietis/ck-certified Class Usage Examples

Private Properties

Property Type Description
UpdatePropertyBag void

Public Methods

Method Description
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

Private Methods

Method Description
UpdatePropertyBag ( ) : void

Method Details

ClearConfig() public method

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
return void

CreateFrom() public static method

public static CreateFrom ( VMLogConfig holder, ILogServiceConfig s ) : VMLogServiceConfig
holder VMLogConfig
s ILogServiceConfig
return VMLogServiceConfig

CreateFrom() public static method

public static CreateFrom ( VMLogConfig holder, IServiceInfo s ) : VMLogServiceConfig
holder VMLogConfig
s IServiceInfo
return VMLogServiceConfig

FindEvent() public method

Returns the VMLogEventConfig corresponding to the name set as parameter
public FindEvent ( string name ) : VMLogEventConfig
name string
return VMLogEventConfig

FindMethod() public method

Returns the VMLogMethodConfig corresponding to the signature set as parameter
public FindMethod ( string name ) : VMLogMethodConfig
name string
return VMLogMethodConfig

FindProperty() public method

Returns the VMLogPropertyConfig corresponding to the name set as parameter
public FindProperty ( string name ) : VMLogPropertyConfig
name string
return VMLogPropertyConfig

UpdateFrom() public method

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
return bool

UpdateFrom() public method

public UpdateFrom ( IPluginConfigAccessor config ) : void
config IPluginConfigAccessor
return void

VMLogServiceConfig() public method

Instantiates an empty VMLogServiceConfig
public VMLogServiceConfig ( string name, bool isBound ) : System
name string
isBound bool
return System