コード例 #1
0
ファイル: Model.cs プロジェクト: imartinezortiz/sgsp
        public static Description CreateDescription(XElement ele)
        {
            Description x = new Description();

            x.Brief = ele.Element("brief").Value;
            x.Detailed = ele.Element("detailed").Value;
            x.Name = ele.Element("name").Value;

            return x;
        }
コード例 #2
0
ファイル: Object.cs プロジェクト: imartinezortiz/sgsp
 public Object()
 {
     Actions = new List<Action>();
     Description = new Description();
     Resources = new List<ResourceList>();
 }