CK.Plugins.ObjectExplorer.ViewModels.LogViewModels.VMLogEventConfig.UpdateFrom C# (CSharp) Method

UpdateFrom() public method

public UpdateFrom ( ILogEventConfig l ) : bool
l ILogEventConfig
return bool
        public bool UpdateFrom( ILogEventConfig l )
        {
            bool hasChanged = false;

            if( l.LogOptions != LogOptions )
            {
                ProcessLogOptions( l.LogOptions );
                hasChanged = true;
            }

            if( l.DoLog != DoLog )
            {
                DoLog = l.DoLog;
                hasChanged = true;
            }

            return hasChanged;
        }

Same methods

VMLogEventConfig::UpdateFrom ( IPluginConfigAccessor config ) : void