Table of Contents

Class OwnedCopy

Namespace
Valheim.Testing.GameSessions
Assembly
Valheim.Testing.GameSessions.dll

A copy a run left behind: where it is, what it holds, its size, when it was made, which running processes use it, and the result of the run it belongs to (the nearest result.json), when there is one.

public sealed record OwnedCopy
Inheritance
object
OwnedCopy

Constructors

OwnedCopy(string, OwnedCopyKind, long, DateTime, IReadOnlyList<int>, string?, bool?)

A copy a run left behind: where it is, what it holds, its size, when it was made, which running processes use it, and the result of the run it belongs to (the nearest result.json), when there is one.

public OwnedCopy(string Path, OwnedCopyKind Kind, long Bytes, DateTime CreatedUtc, IReadOnlyList<int> InUseBy, string? Result, bool? Passed)

Parameters

Path string
Kind OwnedCopyKind
Bytes long
CreatedUtc DateTime
InUseBy IReadOnlyList<int>
Result string
Passed bool?

Properties

Bytes

public long Bytes { get; init; }

Property Value

long

CreatedUtc

public DateTime CreatedUtc { get; init; }

Property Value

DateTime

InUse

public bool InUse { get; }

Property Value

bool

InUseBy

public IReadOnlyList<int> InUseBy { get; init; }

Property Value

IReadOnlyList<int>

Kind

public OwnedCopyKind Kind { get; init; }

Property Value

OwnedCopyKind

Passed

public bool? Passed { get; init; }

Property Value

bool?

Path

public string Path { get; init; }

Property Value

string

Result

public string? Result { get; init; }

Property Value

string