C# 클래스 NinjaCoder.MvvmCross.Tests.Mocks.MockPathBase

Defines the MockPathBase type.
상속: System.IO.Abstractions.PathBase
파일 보기 프로젝트 열기: asudbury/NinjaCoderForMvvmCross 1 사용 예제들

Private Properties

프로퍼티 타입 설명

공개 메소드들

메소드 설명
ChangeExtension ( string path, string extension ) : string

Changes the extension.

Combine ( string path1, string path2 ) : string

Combines the specified path1.

GetDirectoryName ( string path ) : string

Gets the name of the directory.

GetExtension ( string path ) : string

Gets the extension.

GetFileName ( string path ) : string

Gets the name of the file.

GetFileNameWithoutExtension ( string path ) : string

Gets the file name without extension.

GetFullPath ( string path ) : string

Gets the full path.

GetInvalidFileNameChars ( ) : char[]

Gets the invalid file name chars.

GetInvalidPathChars ( ) : char[]

Gets the invalid path chars.

GetPathRoot ( string path ) : string

Gets the path root.

GetRandomFileName ( ) : string

Gets the random name of the file.

GetTempFileName ( ) : string

Gets the name of the temp file.

GetTempPath ( ) : string

Gets the temp path.

HasExtension ( string path ) : bool

Determines whether the specified path has extension.

IsPathRooted ( string path ) : bool

Determines whether [is path rooted] [the specified path].

메소드 상세

ChangeExtension() 공개 메소드

Changes the extension.
public ChangeExtension ( string path, string extension ) : string
path string The path.
extension string The extension.
리턴 string

Combine() 공개 메소드

Combines the specified path1.
public Combine ( string path1, string path2 ) : string
path1 string The path1.
path2 string The path2.
리턴 string

GetDirectoryName() 공개 메소드

Gets the name of the directory.
public GetDirectoryName ( string path ) : string
path string The path.
리턴 string

GetExtension() 공개 메소드

Gets the extension.
public GetExtension ( string path ) : string
path string The path.
리턴 string

GetFileName() 공개 메소드

Gets the name of the file.
public GetFileName ( string path ) : string
path string The path.
리턴 string

GetFileNameWithoutExtension() 공개 메소드

Gets the file name without extension.
public GetFileNameWithoutExtension ( string path ) : string
path string The path.
리턴 string

GetFullPath() 공개 메소드

Gets the full path.
public GetFullPath ( string path ) : string
path string The path.
리턴 string

GetInvalidFileNameChars() 공개 메소드

Gets the invalid file name chars.
public GetInvalidFileNameChars ( ) : char[]
리턴 char[]

GetInvalidPathChars() 공개 메소드

Gets the invalid path chars.
public GetInvalidPathChars ( ) : char[]
리턴 char[]

GetPathRoot() 공개 메소드

Gets the path root.
public GetPathRoot ( string path ) : string
path string The path.
리턴 string

GetRandomFileName() 공개 메소드

Gets the random name of the file.
public GetRandomFileName ( ) : string
리턴 string

GetTempFileName() 공개 메소드

Gets the name of the temp file.
public GetTempFileName ( ) : string
리턴 string

GetTempPath() 공개 메소드

Gets the temp path.
public GetTempPath ( ) : string
리턴 string

HasExtension() 공개 메소드

Determines whether the specified path has extension.
public HasExtension ( string path ) : bool
path string The path.
리턴 bool

IsPathRooted() 공개 메소드

Determines whether [is path rooted] [the specified path].
public IsPathRooted ( string path ) : bool
path string The path.
리턴 bool