Esempio n. 1
0
 public virtual void OverrideConstructors(IOverrideConstructorDelegate overrideConstructorDelegate)
 {
     if (cv != null)
     {
         cv.OverrideConstructors(overrideConstructorDelegate);
     }
 }
Esempio n. 2
0
 public virtual void OverrideConstructors(IOverrideConstructorDelegate overrideConstructorDelegate)
 {
     if (State.CurrentType.IsInterface)
     {
         overrideConstructorDelegate.Invoke(this, c_obj);
         return;
     }
     ConstructorInfo[] constructors = State.CurrentType.GetConstructors();
     foreach (ConstructorInfo superConstructor in constructors)
     {
         overrideConstructorDelegate.Invoke(this, new ConstructorInstance(superConstructor));
     }
 }
Esempio n. 3
0
 public override void OverrideConstructors(IOverrideConstructorDelegate overrideConstructorDelegate)
 {
     base.OverrideConstructors(overrideConstructorDelegate);
 }