Table of Contents

Class TempRuntime

Namespace
Valheim.Testing.Game.Fakes
Assembly
Valheim.Testing.Game.dll

A temporary runtime directory with a BepInEx log, for startup-event tests. Deleted on dispose.

public sealed class TempRuntime
Inheritance
object
TempRuntime

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

text string

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

text string