Table of Contents

Class Observation

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

One read-only extension result and its declared source/completeness. An incomplete reading is not an assertion pass.

public sealed record Observation
Inheritance
object
Observation

Constructors

Observation(string, bool, JsonElement)

One read-only extension result and its declared source/completeness. An incomplete reading is not an assertion pass.

public Observation(string Source, bool Complete, JsonElement Data)

Parameters

Source string
Complete bool
Data JsonElement

Properties

Complete

public bool Complete { get; init; }

Property Value

bool

Data

public JsonElement Data { get; init; }

Property Value

JsonElement

Source

public string Source { get; init; }

Property Value

string

Methods

RequireComplete(string)

Require both Complete and the exact source layer.

public void RequireComplete(string source)

Parameters

source string