public bool UpdateFrom( ILogMethodConfig m )
        {
            bool hasChanged = false;

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

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

            return hasChanged;
        }
 public static VMLogMethodConfig CreateFrom( VMLogServiceConfig holder, ILogMethodConfig m )
 {
     VMLogMethodConfig result = new VMLogMethodConfig( holder, m.Name, false );
     result._doLog = m.DoLog;
     result.ReturnType = m.ReturnType.ToString();
     foreach( ILogParameterInfo p in m.Parameters )
         result.Parameters.Add( new LogParameterInfo( p.ParameterName, p.ParameterType ) );
     result.LogOptions = m.LogOptions;
     return result;
 }