Class CosmosFileSystem
Inheritance
System.Object
CosmosFileSystem
Assembly: Cosmos.System2_Plugs.dll
Syntax
public static class CosmosFileSystem : object
Methods
|
Improve this Doc
View Source
CopyFile(Object, String, String, Boolean)
Declaration
public static void CopyFile(object aThis, string sourceFullPath, string destFullPath, bool overwrite)
Parameters
Type |
Name |
Description |
System.Object |
aThis |
|
System.String |
sourceFullPath |
|
System.String |
destFullPath |
|
System.Boolean |
overwrite |
|
|
Improve this Doc
View Source
CreateDirectory(Object, String)
Declaration
public static void CreateDirectory(object aThis, string fullPath)
Parameters
Type |
Name |
Description |
System.Object |
aThis |
|
System.String |
fullPath |
|
|
Improve this Doc
View Source
Current(ref FileSystem)
Declaration
public static FileSystem Current(ref FileSystem aThis)
Parameters
Returns
|
Improve this Doc
View Source
DeleteFile(Object, String)
Declaration
public static void DeleteFile(object aThis, string fullPath)
Parameters
Type |
Name |
Description |
System.Object |
aThis |
|
System.String |
fullPath |
|
|
Improve this Doc
View Source
DirectoryExists(Object, String)
Declaration
public static bool DirectoryExists(object aThis, string fullPath)
Parameters
Type |
Name |
Description |
System.Object |
aThis |
|
System.String |
fullPath |
|
Returns
Type |
Description |
System.Boolean |
|
|
Improve this Doc
View Source
EnumerateFileSystemInfos(Object, String, String, SearchOption, Int32)
Declaration
public static IEnumerable<FileSystemInfo> EnumerateFileSystemInfos(object aThis, string aPath, string searchPattern, SearchOption searchOption, int searchTarget)
Parameters
Type |
Name |
Description |
System.Object |
aThis |
|
System.String |
aPath |
|
System.String |
searchPattern |
|
SearchOption |
searchOption |
|
System.Int32 |
searchTarget |
|
Returns
Type |
Description |
IEnumerable<FileSystemInfo> |
|
|
Improve this Doc
View Source
FileExists(Object, String)
Declaration
public static bool FileExists(object aThis, string fullPath)
Parameters
Type |
Name |
Description |
System.Object |
aThis |
|
System.String |
fullPath |
|
Returns
Type |
Description |
System.Boolean |
|
|
Improve this Doc
View Source
GetCurrentDirectory(Object)
Declaration
public static string GetCurrentDirectory(object aThis)
Parameters
Type |
Name |
Description |
System.Object |
aThis |
|
Returns
Type |
Description |
System.String |
|
|
Improve this Doc
View Source
MoveDirectory(Object, String, String)
Declaration
public static void MoveDirectory(object aThis, string sourceFullPath, string destFullPath)
Parameters
Type |
Name |
Description |
System.Object |
aThis |
|
System.String |
sourceFullPath |
|
System.String |
destFullPath |
|
|
Improve this Doc
View Source
Open(Object, String, FileMode, FileAccess, FileShare, Int32, FileOptions, FileStream)
Declaration
public static object Open(object aThis, string fullPath, FileMode mode, FileAccess access, FileShare share, int bufferSize, FileOptions options, FileStream parent)
Parameters
Type |
Name |
Description |
System.Object |
aThis |
|
System.String |
fullPath |
|
FileMode |
mode |
|
FileAccess |
access |
|
FileShare |
share |
|
System.Int32 |
bufferSize |
|
FileOptions |
options |
|
FileStream |
parent |
|
Returns
Type |
Description |
System.Object |
|
|
Improve this Doc
View Source
RemoveDirectory(Object, String, Boolean)
Declaration
public static void RemoveDirectory(object aThis, string fullPath, bool recursive)
Parameters
Type |
Name |
Description |
System.Object |
aThis |
|
System.String |
fullPath |
|
System.Boolean |
recursive |
|
|
Improve this Doc
View Source
SetCurrentDirectory(Object, String)
Declaration
public static void SetCurrentDirectory(object aThis, string fullPath)
Parameters
Type |
Name |
Description |
System.Object |
aThis |
|
System.String |
fullPath |
|