Ejemplo n.º 1
0
        private static string CreateContainerFragmentBody(ProfileRoot root, string prefix)
        {
            var name = prefix + root.FragmentBodyList.Count;

            root.AddFragmentBody(name);
            return(name);
        }
Ejemplo n.º 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);
        }