Esempio n. 1
0
 void Serial::ISerializable.GetObjectData(Serial::SerializationInfo info, Serial::StreamingContext context)
 {
     info.AddValue("hasName", this.hasName);
     if (this.hasName)
     {
         info.AddValue("color", (int)c_values[this.color]);
         info.AddValue("name", c_names[this.color]);
     }
     else
     {
         info.AddValue("color", this.color);
     }
 }
Esempio n. 2
0
 void Serial::ISerializable.GetObjectData(Serial::SerializationInfo info, Serial::StreamingContext context)
 {
     info.AddValue("vals", this.vals);
 }
Esempio n. 3
0
 void Serial::ISerializable.GetObjectData(Serial::SerializationInfo info, Serial::StreamingContext context)
 {
     info.AddValue("fontname", this.fontname);
     info.AddValue("_size", this._size);
     info.AddValue("style", this.style);
 }