C# Class CK.Plugins.ObjectExplorer.LogConfigExtensions

Show file Open project: Invenietis/ck-certified

Public Methods

Method Description
Clone ( this config ) : ILogConfig

Creates a snapshot of the ILogConfig.

CombineWith ( this config, ILogServiceConfig s ) : ILogConfig

Creates a new ILogConfig that is a clone of this configuration with a clone of the ILogServiceConfig parameter.

Private Methods

Method Description
Clone ( ILogServiceConfig source ) : ILogServiceConfig

Returns a ILogServiceConfig snapshot of the ILogServiceConfig set as parameter

Method Details

Clone() public static method

Creates a snapshot of the ILogConfig.
public static Clone ( this config ) : ILogConfig
config this to clone.
return ILogConfig

CombineWith() public static method

Creates a new ILogConfig that is a clone of this configuration with a clone of the ILogServiceConfig parameter.
public static CombineWith ( this config, ILogServiceConfig s ) : ILogConfig
config this This .
s ILogServiceConfig A which log configuration needs to be applied.
return ILogConfig