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