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