C# Класс Artemis.Engine.Utilities.DirectoryUtils

Показать файл Открыть проект

Открытые методы

Метод Описание
IsChildDirectoryOf ( string parentDirectory, string childDirectory ) : bool

Determine if a given directory is a child directory of another.

MakeRelativePath ( string rootDirectory, string childDirectory ) : String

Return the difference between a root directory and a child directory. For example, MakeRelativePath("a\b\", "a\b\c\d\e") will return "c\d\e".

Описание методов

IsChildDirectoryOf() публичный статический Метод

Determine if a given directory is a child directory of another.
public static IsChildDirectoryOf ( string parentDirectory, string childDirectory ) : bool
parentDirectory string
childDirectory string
Результат bool

MakeRelativePath() публичный статический Метод

Return the difference between a root directory and a child directory. For example, MakeRelativePath("a\b\", "a\b\c\d\e") will return "c\d\e".
public static MakeRelativePath ( string rootDirectory, string childDirectory ) : String
rootDirectory string
childDirectory string
Результат String