Skip to content

Class PackageRunResult

Namespace: Apogee.Scripting
Assembly: Apogee.Scripting.dll

What happened to a package's scripts.

public sealed record PackageRunResult : IEquatable<PackageRunResult>

Inheritance

object ← PackageRunResult

Implements

IEquatable<PackageRunResult>

Inherited Members

object.Equals(object?), object.Equals(object?, object?), object.GetHashCode(), object.GetType(), object.ReferenceEquals(object?, object?), object.ToString()

Constructors

PackageRunResult(SolvedPackage, bool, string?)

What happened to a package's scripts.

public PackageRunResult(SolvedPackage Package, bool Ran, string? Error)

Parameters

Package SolvedPackage

Ran bool

True when every script ran (a package with none counts).

Error string?

What stopped it, or null.

Properties

Error

What stopped it, or null.

public string? Error { get; init; }

Property Value

string?

Package

public SolvedPackage Package { get; init; }

Property Value

SolvedPackage

Ran

True when every script ran (a package with none counts).

public bool Ran { get; init; }

Property Value

bool