Method | Description | |
---|---|---|
CopyFile ( IFile source, string destination ) : void | ||
CopyFile ( string source, string destination ) : void | ||
CreateFile ( string file ) : IFile | ||
CreateFile ( string file, FileMode fileMode ) : IFile | ||
CreateFile ( string file, FileMode fileMode, FileAccess fileAccess ) : IFile | ||
CreateFile ( string file, FileMode fileMode, FileAccess fileAccess, FileShare fileShare ) : IFile | ||
CreateFile ( string file, FileMode fileMode, FileAccess fileAccess, FileShare fileShare, FileSystemRights fileSystemRights, FileOptions fileOptions, |
||
DeleteFile ( IFile file ) : void | ||
DeleteFile ( string file ) : void | ||
DirectoryExists ( string directory ) : bool | ||
FileExists ( string file ) : bool | ||
GetDirectory ( string directory ) : IDirectory | ||
GetFile ( string file ) : IFile | ||
MoveFile ( IFile source, string destination ) : void | ||
MoveFile ( string source, string destination ) : void | ||
OpenFile ( string path, FileMode fileMode, FileAccess access, FileShare fileShare ) : Stream | ||
OpenFileForRead ( IFile file ) : Stream | ||
OpenFileForRead ( string source ) : Stream | ||
OpenFileForWrite ( IFile file ) : Stream | ||
OpenFileForWrite ( string source ) : Stream | ||
SearchDirectory ( string directory, string searchPattern, SearchOptions searchOptions, SearchLocation searchLocation ) : IEnumerable |
||
TransactionalFileService ( IProxyFactory factory ) : System |
Method | Description | |
---|---|---|
GetFileAccessFromFileMode ( FileMode fileMode ) : FileAccess | ||
GetFileHandle ( string source, KtmTransactionHandle tranHandle, FileMode fileMode, FileAccess fileAccess, FileShare fileShare ) : SafeFileHandle | ||
GetFileHandleForInfo ( string source, KtmTransactionHandle tranHandle ) : SafeFileHandle | ||
GetFileHandleForInfo ( string source, KtmTransactionHandle tranHandle, NativeMethods &data ) : SafeFileHandle | ||
GetKtmTransactionHandle ( ) : KtmTransactionHandle | ||
IsInTransaction ( ) : bool | ||
OpenFileUnManaged ( string source, FileMode fileMode, FileAccess fileAccess, FileShare fileShare ) : Stream | ||
SortListByTypeAndName ( List |
public CopyFile ( IFile source, string destination ) : void | ||
source | IFile | |
destination | string | |
return | void |
public CopyFile ( string source, string destination ) : void | ||
source | string | |
destination | string | |
return | void |
public CreateFile ( string file, FileMode fileMode ) : IFile | ||
file | string | |
fileMode | FileMode | |
return | IFile |
public CreateFile ( string file, FileMode fileMode, FileAccess fileAccess ) : IFile | ||
file | string | |
fileMode | FileMode | |
fileAccess | FileAccess | |
return | IFile |
public CreateFile ( string file, FileMode fileMode, FileAccess fileAccess, FileShare fileShare ) : IFile | ||
file | string | |
fileMode | FileMode | |
fileAccess | FileAccess | |
fileShare | FileShare | |
return | IFile |
public CreateFile ( string file, FileMode fileMode, FileAccess fileAccess, FileShare fileShare, FileSystemRights fileSystemRights, FileOptions fileOptions, |
||
file | string | |
fileMode | FileMode | |
fileAccess | FileAccess | |
fileShare | FileShare | |
fileSystemRights | FileSystemRights | |
fileOptions | FileOptions | |
fileSecurity | ||
return | IFile |
public DirectoryExists ( string directory ) : bool | ||
directory | string | |
return | bool |
public GetDirectory ( string directory ) : IDirectory | ||
directory | string | |
return | IDirectory |
protected GetFileAccessFromFileMode ( FileMode fileMode ) : FileAccess | ||
fileMode | FileMode | |
return | FileAccess |
protected GetFileHandle ( string source, KtmTransactionHandle tranHandle, FileMode fileMode, FileAccess fileAccess, FileShare fileShare ) : SafeFileHandle | ||
source | string | |
tranHandle | KtmTransactionHandle | |
fileMode | FileMode | |
fileAccess | FileAccess | |
fileShare | FileShare | |
return | SafeFileHandle |
protected GetFileHandleForInfo ( string source, KtmTransactionHandle tranHandle ) : SafeFileHandle | ||
source | string | |
tranHandle | KtmTransactionHandle | |
return | SafeFileHandle |
protected GetFileHandleForInfo ( string source, KtmTransactionHandle tranHandle, NativeMethods &data ) : SafeFileHandle | ||
source | string | |
tranHandle | KtmTransactionHandle | |
data | NativeMethods | |
return | SafeFileHandle |
protected GetKtmTransactionHandle ( ) : KtmTransactionHandle | ||
return | KtmTransactionHandle |
public MoveFile ( IFile source, string destination ) : void | ||
source | IFile | |
destination | string | |
return | void |
public MoveFile ( string source, string destination ) : void | ||
source | string | |
destination | string | |
return | void |
public OpenFile ( string path, FileMode fileMode, FileAccess access, FileShare fileShare ) : Stream | ||
path | string | |
fileMode | FileMode | |
access | FileAccess | |
fileShare | FileShare | |
return | Stream |
public OpenFileForRead ( IFile file ) : Stream | ||
file | IFile | |
return | Stream |
public OpenFileForRead ( string source ) : Stream | ||
source | string | |
return | Stream |
public OpenFileForWrite ( IFile file ) : Stream | ||
file | IFile | |
return | Stream |
public OpenFileForWrite ( string source ) : Stream | ||
source | string | |
return | Stream |
protected OpenFileUnManaged ( string source, FileMode fileMode, FileAccess fileAccess, FileShare fileShare ) : Stream | ||
source | string | |
fileMode | FileMode | |
fileAccess | FileAccess | |
fileShare | FileShare | |
return | Stream |
public SearchDirectory ( string directory, string searchPattern, SearchOptions searchOptions, SearchLocation searchLocation ) : IEnumerable |
||
directory | string | |
searchPattern | string | |
searchOptions | SearchOptions | |
searchLocation | SearchLocation | |
return | IEnumerable |
protected SortListByTypeAndName ( List |
||
output | List |
|
return | void |
public TransactionalFileService ( IProxyFactory factory ) : System | ||
factory | IProxyFactory | |
return | System |