Class FileSystemFactory
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: Cosmos.System.FileSystem
Assembly: Cosmos.System2.dll
Syntax
public abstract class FileSystemFactory
Properties
| Improve this Doc View SourceName
Get the name of the file system.
Declaration
public abstract string Name { get; }
Property Value
Type | Description |
---|---|
System.String |
Methods
| Improve this Doc View SourceCreate(Partition, String, Int64)
Creates a new FileSystem object for the given partition, root path, and size.
Declaration
public abstract FileSystem Create(Partition aDevice, string aRootPath, long aSize)
Parameters
Type | Name | Description |
---|---|---|
Partition | aDevice | The partition. |
System.String | aRootPath | The root path. |
System.Int64 | aSize | The size, in MB. |
Returns
Type | Description |
---|---|
FileSystem | FileSystem value. |
IsType(Partition)
Checks if the file system can handle the partition.
Declaration
public abstract bool IsType(Partition aDevice)
Parameters
Type | Name | Description |
---|---|---|
Partition | aDevice | The partition. |
Returns
Type | Description |
---|---|
System.Boolean | Returns true if the file system can handle the partition, false otherwise. |