public Delegate CreateNewDelegate(Type targetDelegateType, JsFunction jsfunc) { DelegateHolder newHolder = this.holder.New(); newHolder.jsFunc = jsfunc; return(Delegate.CreateDelegate(targetDelegateType, newHolder, this.holder.InvokeMethodInfo)); }
public DelegateTemplate(Type delHolderType, DelegateHolder holder) { this.delHolderType = delHolderType; this.holder = holder; }