private static string CreateContainerFragmentBody(ProfileRoot root, string prefix) { var name = prefix + root.FragmentBodyList.Count; root.AddFragmentBody(name); return(name); }
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); }