internal MethodCall(SmuggledMethodCallMessage smuggledMsg, ArrayList deserializedArgs)
 {
     this.uri             = smuggledMsg.Uri;
     this.typeName        = smuggledMsg.TypeName;
     this.methodName      = smuggledMsg.MethodName;
     this.methodSignature = (Type[])smuggledMsg.GetMethodSignature(deserializedArgs);
     this.args            = smuggledMsg.GetArgs(deserializedArgs);
     this.instArgs        = smuggledMsg.GetInstantiation(deserializedArgs);
     this.callContext     = smuggledMsg.GetCallContext(deserializedArgs);
     this.ResolveMethod();
     if (smuggledMsg.MessagePropertyCount > 0)
     {
         smuggledMsg.PopulateMessageProperties(this.Properties, deserializedArgs);
     }
 }
 internal MethodCall(SmuggledMethodCallMessage smuggledMsg, ArrayList deserializedArgs)
 {
     this.uri = smuggledMsg.Uri;
     this.typeName = smuggledMsg.TypeName;
     this.methodName = smuggledMsg.MethodName;
     this.methodSignature = (Type[]) smuggledMsg.GetMethodSignature(deserializedArgs);
     this.args = smuggledMsg.GetArgs(deserializedArgs);
     this.instArgs = smuggledMsg.GetInstantiation(deserializedArgs);
     this.callContext = smuggledMsg.GetCallContext(deserializedArgs);
     this.ResolveMethod();
     if (smuggledMsg.MessagePropertyCount > 0)
     {
         smuggledMsg.PopulateMessageProperties(this.Properties, deserializedArgs);
     }
 }
Ejemplo n.º 3
0
        internal MethodCall(SmuggledMethodCallMessage smuggledMsg, ArrayList deserializedArgs)
        {
            uri = smuggledMsg.Uri;
            typeName = smuggledMsg.TypeName;
            methodName = smuggledMsg.MethodName;
            methodSignature = (Type[])smuggledMsg.GetMethodSignature(deserializedArgs);
            args = smuggledMsg.GetArgs(deserializedArgs);
            callContext = smuggledMsg.GetCallContext(deserializedArgs);
   
            ResolveMethod();

            if (smuggledMsg.MessagePropertyCount > 0)
                smuggledMsg.PopulateMessageProperties(Properties, deserializedArgs);
        }