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