C# Class Composite.Data.Types.IMediaFileFolderUtils

Mostra file Open project: Orckestra/C1-CMS

Public Methods

Method Description
CreateFolderPath ( string parentFolderPath, string folderName ) : string

Creates a folder path given folder path and the name of the folder

CreateFolderPath ( this parentMediaFolder, string folderName ) : string

Creates a folder path given folder path and the name of the folder

DoesFolderExists ( string path ) : bool

Returns true if the given media folder path exists

DoesFolderExists ( this mediaFileFolder ) : bool

Returns true if the given media folder exists

DoesParentFolderExists ( this mediaFileFolder ) : bool

Returns true if the given media folders parent folder exists

GetParentFolderPath ( string path ) : string

Returns the parent folder for the given media folder path

GetParentFolderPath ( this mediaFileFolder ) : string

Returns the parent folder for the given media folder

Method Details

CreateFolderPath() public static method

Creates a folder path given folder path and the name of the folder
public static CreateFolderPath ( string parentFolderPath, string folderName ) : string
parentFolderPath string
folderName string
return string

CreateFolderPath() public static method

Creates a folder path given folder path and the name of the folder
public static CreateFolderPath ( this parentMediaFolder, string folderName ) : string
parentMediaFolder this
folderName string
return string

DoesFolderExists() public static method

Returns true if the given media folder path exists
public static DoesFolderExists ( string path ) : bool
path string
return bool

DoesFolderExists() public static method

Returns true if the given media folder exists
public static DoesFolderExists ( this mediaFileFolder ) : bool
mediaFileFolder this
return bool

DoesParentFolderExists() public static method

Returns true if the given media folders parent folder exists
public static DoesParentFolderExists ( this mediaFileFolder ) : bool
mediaFileFolder this
return bool

GetParentFolderPath() public static method

Returns the parent folder for the given media folder path
public static GetParentFolderPath ( string path ) : string
path string
return string

GetParentFolderPath() public static method

Returns the parent folder for the given media folder
public static GetParentFolderPath ( this mediaFileFolder ) : string
mediaFileFolder this
return string