C# Class FolderManagement.FileStorageService

Afficher le fichier Open project: dream-365/toolkit Class Usage Examples

Méthodes publiques

Méthode Description
QueryFiles ( string root, string regex ) : IEnumerable
QueryFolders ( string root, string regex ) : IEnumerable
ReanmePreview ( string name, string regex, string format ) : string
RenameFile ( string fullPath, string regex, string format ) : string
RenameFolder ( string fullPath, string regex, string format ) : string

Private Methods

Méthode Description
CreateDirectoryIfNotExists ( string dir ) : void
InternalRename ( string name, string regex, string format ) : string

Method Details

QueryFiles() public méthode

public QueryFiles ( string root, string regex ) : IEnumerable
root string
regex string
Résultat IEnumerable

QueryFolders() public méthode

public QueryFolders ( string root, string regex ) : IEnumerable
root string
regex string
Résultat IEnumerable

ReanmePreview() public méthode

public ReanmePreview ( string name, string regex, string format ) : string
name string
regex string
format string
Résultat string

RenameFile() public méthode

public RenameFile ( string fullPath, string regex, string format ) : string
fullPath string
regex string
format string
Résultat string

RenameFolder() public méthode

public RenameFolder ( string fullPath, string regex, string format ) : string
fullPath string
regex string
format string
Résultat string