using System; using System.Collections.Generic; using ProtoBuf; namespace KKSG { [ProtoContract(Name = "AllSynCardAttr")] [Serializable] public class AllSynCardAttr : IExtensible { [ProtoMember(1, Name = "allAttrs", DataFormat = DataFormat.Default)] public List allAttrs { get { return this._allAttrs; } } private readonly List _allAttrs = new List(); private IExtension extensionObject; IExtension IExtensible.GetExtensionObject(bool createIfMissing) { return Extensible.GetExtensionObject(ref this.extensionObject, createIfMissing); } } }