UnmarshalProperties() 정적인 개인적인 메소드

static private UnmarshalProperties ( IDictionary dict, int count, ArrayList args ) : void
dict IDictionary
count int
args System.Collections.ArrayList
리턴 void
예제 #1
0
        internal MethodResponse(IMethodCallMessage msg, CADMethodReturnMessage retmsg)
        {
            _callMsg = msg;

            _methodBase = msg.MethodBase;
            //_typeName = msg.TypeName;
            _uri        = msg.Uri;
            _methodName = msg.MethodName;

            // Get unmarshalled arguments
            ArrayList args = retmsg.GetArguments();

            _exception   = retmsg.GetException(args);
            _returnValue = retmsg.GetReturnValue(args);
            _args        = retmsg.GetArgs(args);

            _callContext = retmsg.GetLogicalCallContext(args);
            if (_callContext == null)
            {
                _callContext = new LogicalCallContext();
            }

            if (retmsg.PropertiesCount > 0)
            {
                CADMessageBase.UnmarshalProperties(Properties, retmsg.PropertiesCount, args);
            }
        }
예제 #2
0
        internal MethodCall(CADMethodCallMessage msg)
        {
            this._uri = string.Copy(msg.Uri);
            ArrayList arguments = msg.GetArguments();

            this._args        = msg.GetArgs(arguments);
            this._callContext = msg.GetLogicalCallContext(arguments);
            if (this._callContext == null)
            {
                this._callContext = new LogicalCallContext();
            }
            this._methodBase = msg.GetMethod();
            this.Init();
            if (msg.PropertiesCount > 0)
            {
                CADMessageBase.UnmarshalProperties(this.Properties, msg.PropertiesCount, arguments);
            }
        }
예제 #3
0
        internal MethodResponse(IMethodCallMessage msg, CADMethodReturnMessage retmsg)
        {
            this._callMsg    = msg;
            this._methodBase = msg.MethodBase;
            this._uri        = msg.Uri;
            this._methodName = msg.MethodName;
            ArrayList arguments = retmsg.GetArguments();

            this._exception   = retmsg.GetException(arguments);
            this._returnValue = retmsg.GetReturnValue(arguments);
            this._args        = retmsg.GetArgs(arguments);
            this._callContext = retmsg.GetLogicalCallContext(arguments);
            if (this._callContext == null)
            {
                this._callContext = new LogicalCallContext();
            }
            if (retmsg.PropertiesCount > 0)
            {
                CADMessageBase.UnmarshalProperties(this.Properties, retmsg.PropertiesCount, arguments);
            }
        }
예제 #4
0
        internal MethodCall(CADMethodCallMessage msg)
        {
            _uri = string.Copy(msg.Uri);

            // Get unmarshalled arguments
            ArrayList args = msg.GetArguments();

            _args        = msg.GetArgs(args);
            _callContext = msg.GetLogicalCallContext(args);
            if (_callContext == null)
            {
                _callContext = new LogicalCallContext();
            }

            _methodBase = msg.GetMethod();

            Init();

            if (msg.PropertiesCount > 0)
            {
                CADMessageBase.UnmarshalProperties(Properties, msg.PropertiesCount, args);
            }
        }