C# 클래스 Artemis.Engine.Utilities.DirectoryUtils

파일 보기 프로젝트 열기: ArtemisEngine/Artemis-Engine

공개 메소드들

메소드 설명
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