/// <summary>
 /// Deserialize the message (assumes magic & type already read in)
 /// </summary>
 /// <param name="cin">Cin.</param>
 public override void Deserialize(IBinaryReader cin)
 {
     // class & method names
     Obj          = CLRObjectProxy.Find(cin.ReadInt32(), proxyok: true);
     PropertyName = cin.ReadString();
     Value        = CLRMessage.DeserializeValue(cin);
 }
 /// <summary>
 /// Deserialize the message (assumes magic & type already read in)
 /// </summary>
 /// <param name="cin">Cin.</param>
 public override void Deserialize(IBinaryReader cin)
 {
     // class & method names
     ClassName    = cin.ReadString();
     PropertyName = cin.ReadString();
     Value        = CLRMessage.DeserializeValue(cin);
 }
        /// <summary>
        /// Deserialize the message (assumes magic & type already read in)
        /// </summary>
        /// <param name="cin">Cin.</param>
        public override void Deserialize(IBinaryReader cin)
        {
            Length = cin.ReadInt32();
            Value  = new object[Length];

            for (int i = 0; i < Length; i++)
            {
                Value[i] = CLRMessage.DeserializeValue(cin);
            }
        }
Esempio n. 4
0
        /// <summary>
        /// Deserialize the message (assumes magic & type already read in)
        /// </summary>
        /// <param name="cin">Cin.</param>
        public override void Deserialize(IBinaryReader cin)
        {
            // create class name
            ClassName = cin.ReadString();

            // arguments
            var len = (int)cin.ReadUInt16();

            Parameters = new object[len];

            for (int i = 0; i < len; i++)
            {
                Parameters[i] = CLRMessage.DeserializeValue(cin);
            }
        }
Esempio n. 5
0
        /// <summary>
        /// Deserialize the message (assumes magic & type already read in)
        /// </summary>
        /// <param name="cin">Cin.</param>
        public override void Deserialize(IBinaryReader cin)
        {
            // class & method names
            Obj        = CLRObjectProxy.Find(cin.ReadInt32(), proxyok: true);
            MethodName = cin.ReadString();

            // arguments
            var len = (int)cin.ReadUInt16();

            Parameters = new object[len];

            for (int i = 0; i < len; i++)
            {
                Parameters[i] = CLRMessage.DeserializeValue(cin);
            }
        }