C# 클래스 kOS.Safe.Persistence.VolumePath

Represents the location of a directory or a file inside a volume.
파일 보기 프로젝트 열기: KSP-KOS/KOS 1 사용 예제들

공개 프로퍼티들

프로퍼티 타입 설명
EMPTY VolumePath

공개 메소드들

메소드 설명
Combine ( ) : VolumePath
Equals ( object other ) : bool
FromString ( string pathString ) : VolumePath
FromString ( string pathString, VolumePath basePath ) : VolumePath
GetHashCode ( ) : int
GetParent ( ) : VolumePath
IsAbsolute ( String pathString ) : System.Boolean

Determines if a string represents an absolute path.

IsParent ( VolumePath path ) : bool
IsValidSegment ( string segment ) : bool
ToString ( ) : string

보호된 메소드들

메소드 설명
GetSegmentsFromString ( string pathString ) : List
VolumePath ( ) : System
VolumePath ( IEnumerable segments ) : System

비공개 메소드들

메소드 설명
Canonicalize ( ) : void

메소드 상세

Combine() 공개 메소드

public Combine ( ) : VolumePath
리턴 VolumePath

Equals() 공개 메소드

public Equals ( object other ) : bool
other object
리턴 bool

FromString() 공개 정적인 메소드

public static FromString ( string pathString ) : VolumePath
pathString string
리턴 VolumePath

FromString() 공개 정적인 메소드

public static FromString ( string pathString, VolumePath basePath ) : VolumePath
pathString string
basePath VolumePath
리턴 VolumePath

GetHashCode() 공개 메소드

public GetHashCode ( ) : int
리턴 int

GetParent() 공개 메소드

public GetParent ( ) : VolumePath
리턴 VolumePath

GetSegmentsFromString() 보호된 정적인 메소드

protected static GetSegmentsFromString ( string pathString ) : List
pathString string
리턴 List

IsAbsolute() 공개 정적인 메소드

Determines if a string represents an absolute path.
public static IsAbsolute ( String pathString ) : System.Boolean
pathString String
리턴 System.Boolean

IsParent() 공개 메소드

public IsParent ( VolumePath path ) : bool
path VolumePath
리턴 bool

IsValidSegment() 공개 정적인 메소드

public static IsValidSegment ( string segment ) : bool
segment string
리턴 bool

ToString() 공개 메소드

public ToString ( ) : string
리턴 string

VolumePath() 보호된 메소드

protected VolumePath ( ) : System
리턴 System

VolumePath() 보호된 메소드

protected VolumePath ( IEnumerable segments ) : System
segments IEnumerable
리턴 System

프로퍼티 상세

EMPTY 공개적으로 정적으로 프로퍼티

public static VolumePath,kOS.Safe.Persistence EMPTY
리턴 VolumePath