Class SystemFileIO

Namespace
CodeSmile.AnyMotion.Core.SaveLoad
/
Assembly
ApiSource.dll

Plain System.IO.File wrapper. Works in the Editor and in builds.

public sealed class SystemFileIO : IFileIO
Expand Details ...
Inheritance
object
SystemFileIO
Implements

Methods

Exists(string)

public bool Exists(string filePath)

Parameters

Type Name Description
string
filePath

Returns

bool

ReadAllText(string)

public string ReadAllText(string filePath)

Parameters

Type Name Description
string
filePath

Returns

string

WriteAllText(string, string)

public void WriteAllText(string filePath, string contents)

Parameters

Type Name Description
string
filePath
string
contents