public void Setup(ObjectInstance target) { if (target == null) { throw new ArgumentNullException(nameof(target)); } _constructor = NewConstructor(); ConfigureConstructor(_constructor); ConfigurePrototype(_constructor.PrototypeObject); target.FastAddProperty(Name, _constructor, true, false, true); }
public virtual void ConfigureConstructor(InteropConstructor <T> constructor) { }