C# Class ScrewTurn.Wiki.PluginFramework.StDirectoryInfo

Contains information about a directory.
This class is only used for provider-host communication.
Show file Open project: mono/ScrewTurnWiki Class Usage Examples

Public Methods

Method Description
GetDirectory ( string filePath ) : string

Gets the directory of a file.

StDirectoryInfo ( string fullPath, IFilesStorageProviderV30 provider ) : System

Initializes a new instance of the T:StDirectoryInfo class.

Method Details

GetDirectory() public static method

Gets the directory of a file.
public static GetDirectory ( string filePath ) : string
filePath string The full file path, such as '/file.txt' or '/directory/sub/file.txt'.
return string

StDirectoryInfo() public method

Initializes a new instance of the T:StDirectoryInfo class.
public StDirectoryInfo ( string fullPath, IFilesStorageProviderV30 provider ) : System
fullPath string The full path of the directory, for example /dir/sub/ or /.
provider IFilesStorageProviderV30 The provider that handles the directory.
return System