Table of Contents

Struct PluginRecoveryResult

Namespace
AcDream.Plugin.Abstractions
Assembly
AcDream.Plugin.Abstractions.dll

Result of one explicit operator recovery operation.

public readonly record struct PluginRecoveryResult : IEquatable<PluginRecoveryResult>
Implements
Inherited Members

Constructors

PluginRecoveryResult(bool, int, int, string)

Result of one explicit operator recovery operation.

public PluginRecoveryResult(bool Accepted, int PreviousCount = 0, int CurrentCount = 0, string Message = "")

Parameters

Accepted bool

True when the host carried the operation out; false when it could not, for example with no session bound.

PreviousCount int

How many outstanding action references there were before the operation.

CurrentCount int

How many outstanding action references remain after the operation.

Message string

A short explanation of what happened.

Properties

Accepted

True when the host carried the operation out; false when it could not, for example with no session bound.

public bool Accepted { get; init; }

Property Value

bool

CurrentCount

How many outstanding action references remain after the operation.

public int CurrentCount { get; init; }

Property Value

int

Message

A short explanation of what happened.

public string Message { get; init; }

Property Value

string

PreviousCount

How many outstanding action references there were before the operation.

public int PreviousCount { get; init; }

Property Value

int