using System.Collections.Generic; using System.Runtime.Serialization; namespace Modules.BehaviorTreeModule { [DataContract] public class AllTreeData { private readonly List treeNodeDatas = new List(); [DataMember(Order = 1)] public List TreeNodeDatas { get { return this.treeNodeDatas; } } } }