상속: VMLogBaseElement, ILogPropertyConfig
예제 #1
0
 public static VMLogPropertyConfig CreateFrom( ILogPropertyConfig p )
 {
     VMLogPropertyConfig result = new VMLogPropertyConfig( p.Name, false );
     result._doLog = p.DoLog;
     result.PropertyType = p.PropertyType;
     result.LogFilter = p.LogFilter;
     result.DoLogErrors = p.DoLogErrors;
     return result;
 }
예제 #2
0
 public static VMLogPropertyConfig CreateFrom( ISimplePropertyInfo p )
 {
     VMLogPropertyConfig result = new VMLogPropertyConfig( p.Name, true );
     result.PropertyType = p.PropertyType.ToString();
     return result;
 }