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