예제 #1
0
 protected override void OnCreateXTypeLate <T>(XType <T> xType)
 {
     if (xType.Components <XTexter <T> >().Any(x => x.Enabled) ||
         xType.Components <XBuilderComponent <T> >().Any(x => x.Enabled))
     {
         XConstructor <T> ctor = xType.Component <XConstructor <T> >();
         if (ctor != null)
         {
             ctor.Enabled = false;
         }
     }
 }