SenseNet.ContentRepository.Field.ParseImportName C# (CSharp) Method

ParseImportName() static private method

static private ParseImportName ( string importName, FieldSubType subType ) : string
importName string
subType FieldSubType
return string
		internal static string ParseImportName(string importName, FieldSubType subType)
		{
			switch (subType)
			{
				case FieldSubType.General:
					return importName;
				case FieldSubType.ContentList:
					return importName.Insert(0, "#");
				default:
					throw new NotImplementedException("FieldSubType '" + subType +"' is not implemented");
			}
		}