Exemplo n.º 1
0
 public virtual void OverrideConstructors(IOverrideConstructorDelegate overrideConstructorDelegate)
 {
     if (cv != null)
     {
         cv.OverrideConstructors(overrideConstructorDelegate);
     }
 }
Exemplo 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));
     }
 }
Exemplo n.º 3
0
 public override void OverrideConstructors(IOverrideConstructorDelegate overrideConstructorDelegate)
 {
     base.OverrideConstructors(overrideConstructorDelegate);
 }