C# Class Rebel.Framework.FileSystemInfoExtensions

Afficher le fichier Open project: RebelCMS/rebelcmsxu5

Méthodes publiques

Méthode Description
EnumerateFileSystemInfosRecursive ( this directory ) : IEnumerable

Retreives all FileSystemInfo objects underneath a specified directory and all child directories recursively

RelativePathOfItem ( this directory, FileSystemInfo item ) : string

Calculates the FileSystemInfo object's relative path to a DirectoryInfo object

Method Details

EnumerateFileSystemInfosRecursive() public static méthode

Retreives all FileSystemInfo objects underneath a specified directory and all child directories recursively
public static EnumerateFileSystemInfosRecursive ( this directory ) : IEnumerable
directory this
Résultat IEnumerable

RelativePathOfItem() public static méthode

Calculates the FileSystemInfo object's relative path to a DirectoryInfo object
public static RelativePathOfItem ( this directory, FileSystemInfo item ) : string
directory this
item System.IO.FileSystemInfo
Résultat string