コード例 #1
0
ファイル: FragmentBody.cs プロジェクト: JamieO53/xpangen.old
        private static string CreateContainerFragmentBody(ProfileRoot root, string prefix)
        {
            var name = prefix + root.FragmentBodyList.Count;

            root.AddFragmentBody(name);
            return(name);
        }
コード例 #2
0
        public ProfileRoot AddProfileRoot(string name, string title = "")
        {
            var item = new ProfileRoot(GenDataBase)
            {
                GenObject = GenDataBase.Root.CreateGenObject("ProfileRoot"),
                Name      = name,
                Title     = title
            };

            ProfileRootList.Add(item);
            return(item);
        }