Class TempRuntime
A temporary runtime directory with a BepInEx log, for startup-event tests. Deleted on dispose.
public sealed class TempRuntime
- Inheritance
-
objectTempRuntime
Constructors
TempRuntime()
public TempRuntime()
Properties
DirectoryPath
public string DirectoryPath { get; }
Property Value
- string
LogPath
public string LogPath { get; }
Property Value
- string
Methods
Append(string)
public void Append(string text)
Parameters
textstring
Dispose()
Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.
public void Dispose()
Replace(string)
Rewrites the log from the start, as BepInEx does at every boot.
public void Replace(string text)
Parameters
textstring