/// <summary> /// 编译返回委托 /// </summary> /// <returns></returns> public virtual Delegate Complie(object binder = null) { Complier.Add(this); return(Complier.GetDelegate( OopNameScript, MethodNameScript, DelegateType, binder)); }
/// <summary> /// 编译返回委托 /// </summary> /// <returns></returns> public virtual Delegate Complie(object binder = null) { Complier.Add(this); var @delegate = Complier.GetDelegate( OopNameScript, MethodNameScript, DelegateType, binder); if (_inCache) { @delegate.AddInCache(Complier.Domain); } return(@delegate); }