C# Class System.IO.MultiplexingWin32WinRTFileSystem

Inheritance: FileSystem
Afficher le fichier Open project: dotnet/corefx

Méthodes publiques

Méthode Description
CopyFile ( string sourceFullPath, string destFullPath, bool overwrite ) : void
CreateDirectory ( string fullPath ) : void
DeleteFile ( string fullPath ) : void
DirectoryExists ( string fullPath ) : bool
EnumerateFileSystemInfos ( string fullPath, string searchPattern, SearchOption searchOption, SearchTarget searchTarget ) : Collections.Generic.IEnumerable
EnumeratePaths ( string fullPath, string searchPattern, SearchOption searchOption, SearchTarget searchTarget ) : Collections.Generic.IEnumerable
FileExists ( string fullPath ) : bool
GetAttributes ( string fullPath ) : FileAttributes
GetCreationTime ( string fullPath ) : DateTimeOffset
GetCurrentDirectory ( ) : string
GetFileSystemInfo ( string fullPath, bool asDirectory ) : IFileSystemObject
GetLastAccessTime ( string fullPath ) : DateTimeOffset
GetLastWriteTime ( string fullPath ) : DateTimeOffset
GetLogicalDrives ( ) : string[]
MoveDirectory ( string sourceFullPath, string destFullPath ) : void
MoveFile ( string sourceFullPath, string destFullPath ) : void
Open ( string fullPath, FileMode mode, FileAccess access, FileShare share, int bufferSize, FileOptions options, FileStream parent ) : System.IO.FileStreamBase
RemoveDirectory ( string fullPath, bool recursive ) : void
ReplaceFile ( string sourceFullPath, string destFullPath, string destBackupFullPath, bool ignoreMetadataErrors ) : void
SetAttributes ( string fullPath, FileAttributes attributes ) : void
SetCreationTime ( string fullPath, DateTimeOffset time, bool asDirectory ) : void
SetCurrentDirectory ( string fullPath ) : void
SetLastAccessTime ( string fullPath, DateTimeOffset time, bool asDirectory ) : void
SetLastWriteTime ( string fullPath, DateTimeOffset time, bool asDirectory ) : void

Private Methods

Méthode Description
GetFileSystemObject ( FileSystemInfo caller, string fullPath ) : IFileSystemObject
Select ( string fullPath, bool isCreate = false ) : FileSystem
Select ( string sourceFullPath, string destFullPath ) : FileSystem
Select ( string sourceFullPath, string destFullPath, string destFullBackupPath ) : FileSystem
ShouldUseWinRT ( string fullPath, bool isCreate ) : bool

Method Details

CopyFile() public méthode

public CopyFile ( string sourceFullPath, string destFullPath, bool overwrite ) : void
sourceFullPath string
destFullPath string
overwrite bool
Résultat void

CreateDirectory() public méthode

public CreateDirectory ( string fullPath ) : void
fullPath string
Résultat void

DeleteFile() public méthode

public DeleteFile ( string fullPath ) : void
fullPath string
Résultat void

DirectoryExists() public méthode

public DirectoryExists ( string fullPath ) : bool
fullPath string
Résultat bool

EnumerateFileSystemInfos() public méthode

public EnumerateFileSystemInfos ( string fullPath, string searchPattern, SearchOption searchOption, SearchTarget searchTarget ) : Collections.Generic.IEnumerable
fullPath string
searchPattern string
searchOption SearchOption
searchTarget SearchTarget
Résultat Collections.Generic.IEnumerable

EnumeratePaths() public méthode

public EnumeratePaths ( string fullPath, string searchPattern, SearchOption searchOption, SearchTarget searchTarget ) : Collections.Generic.IEnumerable
fullPath string
searchPattern string
searchOption SearchOption
searchTarget SearchTarget
Résultat Collections.Generic.IEnumerable

FileExists() public méthode

public FileExists ( string fullPath ) : bool
fullPath string
Résultat bool

GetAttributes() public méthode

public GetAttributes ( string fullPath ) : FileAttributes
fullPath string
Résultat FileAttributes

GetCreationTime() public méthode

public GetCreationTime ( string fullPath ) : DateTimeOffset
fullPath string
Résultat DateTimeOffset

GetCurrentDirectory() public méthode

public GetCurrentDirectory ( ) : string
Résultat string

GetFileSystemInfo() public méthode

public GetFileSystemInfo ( string fullPath, bool asDirectory ) : IFileSystemObject
fullPath string
asDirectory bool
Résultat IFileSystemObject

GetLastAccessTime() public méthode

public GetLastAccessTime ( string fullPath ) : DateTimeOffset
fullPath string
Résultat DateTimeOffset

GetLastWriteTime() public méthode

public GetLastWriteTime ( string fullPath ) : DateTimeOffset
fullPath string
Résultat DateTimeOffset

GetLogicalDrives() public méthode

public GetLogicalDrives ( ) : string[]
Résultat string[]

MoveDirectory() public méthode

public MoveDirectory ( string sourceFullPath, string destFullPath ) : void
sourceFullPath string
destFullPath string
Résultat void

MoveFile() public méthode

public MoveFile ( string sourceFullPath, string destFullPath ) : void
sourceFullPath string
destFullPath string
Résultat void

Open() public méthode

public Open ( string fullPath, FileMode mode, FileAccess access, FileShare share, int bufferSize, FileOptions options, FileStream parent ) : System.IO.FileStreamBase
fullPath string
mode FileMode
access FileAccess
share FileShare
bufferSize int
options FileOptions
parent FileStream
Résultat System.IO.FileStreamBase

RemoveDirectory() public méthode

public RemoveDirectory ( string fullPath, bool recursive ) : void
fullPath string
recursive bool
Résultat void

ReplaceFile() public méthode

public ReplaceFile ( string sourceFullPath, string destFullPath, string destBackupFullPath, bool ignoreMetadataErrors ) : void
sourceFullPath string
destFullPath string
destBackupFullPath string
ignoreMetadataErrors bool
Résultat void

SetAttributes() public méthode

public SetAttributes ( string fullPath, FileAttributes attributes ) : void
fullPath string
attributes FileAttributes
Résultat void

SetCreationTime() public méthode

public SetCreationTime ( string fullPath, DateTimeOffset time, bool asDirectory ) : void
fullPath string
time DateTimeOffset
asDirectory bool
Résultat void

SetCurrentDirectory() public méthode

public SetCurrentDirectory ( string fullPath ) : void
fullPath string
Résultat void

SetLastAccessTime() public méthode

public SetLastAccessTime ( string fullPath, DateTimeOffset time, bool asDirectory ) : void
fullPath string
time DateTimeOffset
asDirectory bool
Résultat void

SetLastWriteTime() public méthode

public SetLastWriteTime ( string fullPath, DateTimeOffset time, bool asDirectory ) : void
fullPath string
time DateTimeOffset
asDirectory bool
Résultat void