Class IO
Contains static methods not supported by portable libraries dealing with input/output.
Inheritance
System.Object
IO
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: Fusee.Base.Core
Assembly: Fusee.Base.Core.dll
Syntax
public static class IO
Properties
IOImp
The platform dependent implementation of all IO functionality.
Declaration
public static IIOImp IOImp { get; set; }
Property Value
Type | Description |
---|---|
IIOImp | The io implementation. |
Methods
StreamFromFile(String, FileMode)
Opens a file and returns its contents as a System.IO.Stream.
Declaration
public static Stream StreamFromFile(string path, FileMode mode)
Parameters
Type | Name | Description |
---|---|---|
System.String | path | The path to the file to open. |
FileMode | mode | The mode. |
Returns
Type | Description |
---|---|
System.IO.Stream | A stream |