// Serialization /// <summary> /// Serialize the message. /// </summary> /// <param name="cout">Cout.</param> public override void Serialize(IBinaryWriter cout) { base.Serialize(cout); // class & method names cout.WriteInt32(CLRObjectProxy.ProxyIdFor(Obj)); cout.WriteString(PropertyName); CLRMessage.SerializeValue(cout, Value); }
// Serialization /// <summary> /// Serialize the message. /// </summary> /// <param name="cout">Cout.</param> public override void Serialize(IBinaryWriter cout) { base.Serialize(cout); // class & method names cout.WriteString(ClassName); cout.WriteString(PropertyName); CLRMessage.SerializeValue(cout, Value); }
// Serialization /// <summary> /// Serialize the message. /// </summary> /// <param name="cout">Cout.</param> public override void Serialize(IBinaryWriter cout) { base.Serialize(cout); cout.WriteInt32(Length); for (int i = 0; i < Length; i++) { var obj = Value[i]; CLRMessage.SerializeValue(cout, obj); } }
// Serialization /// <summary> /// Serialize the message. /// </summary> /// <param name="cout">Cout.</param> public override void Serialize(IBinaryWriter cout) { base.Serialize(cout); // class name cout.WriteString(ClassName); // arguments cout.WriteUInt16((ushort)Parameters.Length); for (int i = 0; i < Parameters.Length; i++) { CLRMessage.SerializeValue(cout, Parameters[i]); } }
// Serialization /// <summary> /// Serialize the message. /// </summary> /// <param name="cout">Cout.</param> public override void Serialize(IBinaryWriter cout) { base.Serialize(cout); // class & method names cout.WriteInt32(CLRObjectProxy.ProxyIdFor(Obj)); cout.WriteString(MethodName); // arguments cout.WriteUInt16((ushort)Parameters.Length); for (int i = 0; i < Parameters.Length; i++) { CLRMessage.SerializeValue(cout, Parameters[i]); } }