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

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

공개 메소드들

메소드 설명
CreateDirectory ( string path ) : DirectoryInfoBase

Creates the directory.

CreateDirectory ( string path, DirectorySecurity directorySecurity ) : DirectoryInfoBase

Creates the directory.

Delete ( string path ) : void

Deletes the specified path.

Delete ( string path, bool recursive ) : void

Deletes the specified path.

Exists ( string path ) : bool

Existses the specified path.

GetAccessControl ( string path ) : DirectorySecurity

Gets the access control.

GetAccessControl ( string path, AccessControlSections includeSections ) : DirectorySecurity

Gets the access control.

GetCreationTime ( string path ) : System.DateTime

Gets the creation time.

GetCreationTimeUtc ( string path ) : System.DateTime

Gets the creation time UTC.

GetCurrentDirectory ( ) : string

Gets the current directory.

GetDirectories ( string path ) : string[]

Gets the directories.

GetDirectories ( string path, string searchPattern ) : string[]

Gets the directories.

GetDirectories ( string path, string searchPattern, SearchOption searchOption ) : string[]

Gets the directories.

GetDirectoryRoot ( string path ) : string

Gets the directory root.

GetFileSystemEntries ( string path ) : string[]

Gets the file system entries.

GetFileSystemEntries ( string path, string searchPattern ) : string[]

Gets the file system entries.

GetFiles ( string path ) : string[]

Gets the files.

GetFiles ( string path, string searchPattern ) : string[]

Gets the files.

GetFiles ( string path, string searchPattern, SearchOption searchOption ) : string[]

Gets the files.

GetLastAccessTime ( string path ) : System.DateTime

Gets the last access time.

GetLastAccessTimeUtc ( string path ) : System.DateTime

Gets the last access time UTC.

GetLastWriteTime ( string path ) : System.DateTime

Gets the last write time.

GetLastWriteTimeUtc ( string path ) : System.DateTime

Gets the last write time UTC.

GetLogicalDrives ( ) : string[]

Gets the logical drives.

GetParent ( string path ) : DirectoryInfoBase

Gets the parent.

Move ( string sourceDirName, string destDirName ) : void

Moves the specified source dir name.

SetAccessControl ( string path, DirectorySecurity directorySecurity ) : void

Sets the access control.

SetCreationTime ( string path, System.DateTime creationTime ) : void

Sets the creation time.

SetCreationTimeUtc ( string path, System.DateTime creationTimeUtc ) : void

Sets the creation time UTC.

SetCurrentDirectory ( string path ) : void

Sets the current directory.

SetLastAccessTime ( string path, System.DateTime lastAccessTime ) : void

Sets the last access time.

SetLastAccessTimeUtc ( string path, System.DateTime lastAccessTimeUtc ) : void

Sets the last access time UTC.

SetLastWriteTime ( string path, System.DateTime lastWriteTime ) : void

Sets the last write time.

SetLastWriteTimeUtc ( string path, System.DateTime lastWriteTimeUtc ) : void

Sets the last write time UTC.

메소드 상세

CreateDirectory() 공개 메소드

Creates the directory.
public CreateDirectory ( string path ) : DirectoryInfoBase
path string The path.
리턴 System.IO.Abstractions.DirectoryInfoBase

CreateDirectory() 공개 메소드

Creates the directory.
public CreateDirectory ( string path, DirectorySecurity directorySecurity ) : DirectoryInfoBase
path string The path.
directorySecurity System.Security.AccessControl.DirectorySecurity The directory security.
리턴 System.IO.Abstractions.DirectoryInfoBase

Delete() 공개 메소드

Deletes the specified path.
public Delete ( string path ) : void
path string The path.
리턴 void

Delete() 공개 메소드

Deletes the specified path.
public Delete ( string path, bool recursive ) : void
path string The path.
recursive bool if set to true [recursive].
리턴 void

Exists() 공개 메소드

Existses the specified path.
public Exists ( string path ) : bool
path string The path.
리턴 bool

GetAccessControl() 공개 메소드

Gets the access control.
public GetAccessControl ( string path ) : DirectorySecurity
path string The path.
리턴 System.Security.AccessControl.DirectorySecurity

GetAccessControl() 공개 메소드

Gets the access control.
public GetAccessControl ( string path, AccessControlSections includeSections ) : DirectorySecurity
path string The path.
includeSections AccessControlSections The include sections.
리턴 System.Security.AccessControl.DirectorySecurity

GetCreationTime() 공개 메소드

Gets the creation time.
public GetCreationTime ( string path ) : System.DateTime
path string The path.
리턴 System.DateTime

GetCreationTimeUtc() 공개 메소드

Gets the creation time UTC.
public GetCreationTimeUtc ( string path ) : System.DateTime
path string The path.
리턴 System.DateTime

GetCurrentDirectory() 공개 메소드

Gets the current directory.
public GetCurrentDirectory ( ) : string
리턴 string

GetDirectories() 공개 메소드

Gets the directories.
public GetDirectories ( string path ) : string[]
path string The path.
리턴 string[]

GetDirectories() 공개 메소드

Gets the directories.
public GetDirectories ( string path, string searchPattern ) : string[]
path string The path.
searchPattern string The search pattern.
리턴 string[]

GetDirectories() 공개 메소드

Gets the directories.
public GetDirectories ( string path, string searchPattern, SearchOption searchOption ) : string[]
path string The path.
searchPattern string The search pattern.
searchOption SearchOption The search option.
리턴 string[]

GetDirectoryRoot() 공개 메소드

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

GetFileSystemEntries() 공개 메소드

Gets the file system entries.
public GetFileSystemEntries ( string path ) : string[]
path string The path.
리턴 string[]

GetFileSystemEntries() 공개 메소드

Gets the file system entries.
public GetFileSystemEntries ( string path, string searchPattern ) : string[]
path string The path.
searchPattern string The search pattern.
리턴 string[]

GetFiles() 공개 메소드

Gets the files.
public GetFiles ( string path ) : string[]
path string The path.
리턴 string[]

GetFiles() 공개 메소드

Gets the files.
public GetFiles ( string path, string searchPattern ) : string[]
path string The path.
searchPattern string The search pattern.
리턴 string[]

GetFiles() 공개 메소드

Gets the files.
public GetFiles ( string path, string searchPattern, SearchOption searchOption ) : string[]
path string The path.
searchPattern string The search pattern.
searchOption SearchOption The search option.
리턴 string[]

GetLastAccessTime() 공개 메소드

Gets the last access time.
public GetLastAccessTime ( string path ) : System.DateTime
path string The path.
리턴 System.DateTime

GetLastAccessTimeUtc() 공개 메소드

Gets the last access time UTC.
public GetLastAccessTimeUtc ( string path ) : System.DateTime
path string The path.
리턴 System.DateTime

GetLastWriteTime() 공개 메소드

Gets the last write time.
public GetLastWriteTime ( string path ) : System.DateTime
path string The path.
리턴 System.DateTime

GetLastWriteTimeUtc() 공개 메소드

Gets the last write time UTC.
public GetLastWriteTimeUtc ( string path ) : System.DateTime
path string The path.
리턴 System.DateTime

GetLogicalDrives() 공개 메소드

Gets the logical drives.
public GetLogicalDrives ( ) : string[]
리턴 string[]

GetParent() 공개 메소드

Gets the parent.
public GetParent ( string path ) : DirectoryInfoBase
path string The path.
리턴 System.IO.Abstractions.DirectoryInfoBase

Move() 공개 메소드

Moves the specified source dir name.
public Move ( string sourceDirName, string destDirName ) : void
sourceDirName string Name of the source dir.
destDirName string Name of the dest dir.
리턴 void

SetAccessControl() 공개 메소드

Sets the access control.
public SetAccessControl ( string path, DirectorySecurity directorySecurity ) : void
path string The path.
directorySecurity System.Security.AccessControl.DirectorySecurity The directory security.
리턴 void

SetCreationTime() 공개 메소드

Sets the creation time.
public SetCreationTime ( string path, System.DateTime creationTime ) : void
path string The path.
creationTime System.DateTime The creation time.
리턴 void

SetCreationTimeUtc() 공개 메소드

Sets the creation time UTC.
public SetCreationTimeUtc ( string path, System.DateTime creationTimeUtc ) : void
path string The path.
creationTimeUtc System.DateTime The creation time UTC.
리턴 void

SetCurrentDirectory() 공개 메소드

Sets the current directory.
public SetCurrentDirectory ( string path ) : void
path string The path.
리턴 void

SetLastAccessTime() 공개 메소드

Sets the last access time.
public SetLastAccessTime ( string path, System.DateTime lastAccessTime ) : void
path string The path.
lastAccessTime System.DateTime The last access time.
리턴 void

SetLastAccessTimeUtc() 공개 메소드

Sets the last access time UTC.
public SetLastAccessTimeUtc ( string path, System.DateTime lastAccessTimeUtc ) : void
path string The path.
lastAccessTimeUtc System.DateTime The last access time UTC.
리턴 void

SetLastWriteTime() 공개 메소드

Sets the last write time.
public SetLastWriteTime ( string path, System.DateTime lastWriteTime ) : void
path string The path.
lastWriteTime System.DateTime The last write time.
리턴 void

SetLastWriteTimeUtc() 공개 메소드

Sets the last write time UTC.
public SetLastWriteTimeUtc ( string path, System.DateTime lastWriteTimeUtc ) : void
path string The path.
lastWriteTimeUtc System.DateTime The last write time UTC.
리턴 void