public string GetParentNameSafe() { return RepositoryPath.GetFileNameSafe(RepositoryPath.GetParentPath(ContentPath)); } }