/// <summary> /// Gets the folder. /// </summary> /// <param name="content">The content.</param> /// <returns></returns> public static TextFolder GetFolder(this TextContent content) { return(new TextFolder(content.GetRepository(), FolderHelper.SplitFullName(content.FolderName))); }
/// <summary> /// Gets the folder. /// </summary> /// <param name="content">The content.</param> /// <returns></returns> public static MediaFolder GetFolder(this MediaContent content) { return(new MediaFolder(content.GetRepository(), FolderHelper.SplitFullName(content.FolderName))); }
/// <summary> /// Initializes a new instance of the <see cref="Folder"/> class. /// </summary> /// <param name="repository">The repository.</param> /// <param name="fullName">The full name.</param> public Folder(Repository repository, string fullName) : this(repository, FolderHelper.SplitFullName(fullName)) { }