public static DispCallable CreateDispCallable(IDispatchComObject dispatch, ComMethodDesc method) { return new DispCallable(dispatch, method.Name, method.DispId); }
internal IDispatchMetaObject(Expression expression, IDispatchComObject self) : base(expression, BindingRestrictions.Empty, self) { _self = self; }
public static DispCallable CreateDispCallable(IDispatchComObject dispatch, ComMethodDesc method) { return(new DispCallable(dispatch, method.Name, method.DispId)); }
internal DispCallable(IDispatchComObject dispatch, string memberName, int dispId) { DispatchComObject = dispatch; MemberName = memberName; DispId = dispId; }