public static string GenerateUniqueNameString(string idString, List <InstancePathItem> instancePath)
 {
     if (instancePath != null && instancePath.Count != 0)
     {
         return(idString + 'i' + InstancePathItem.GenerateInstancePathString(instancePath, -1));
     }
     return(idString);
 }
        public static string GenerateUniqueNameString(int id, List <InstancePathItem> instancePath, int parentInstanceIndex)
        {
            string text = id.ToString(CultureInfo.InvariantCulture);

            if (instancePath != null && instancePath.Count != 0)
            {
                return(text + 'i' + InstancePathItem.GenerateInstancePathString(instancePath, parentInstanceIndex));
            }
            return(text);
        }
 public static string GenerateInstancePathString(List <InstancePathItem> instancePath)
 {
     return(InstancePathItem.GenerateInstancePathString(instancePath, -1));
 }