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); } }
void Serial::ISerializable.GetObjectData(Serial::SerializationInfo info, Serial::StreamingContext context) { info.AddValue("vals", this.vals); }
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); }