Table of Contents

Class DraftPolicy

Namespace
OpenShell
Assembly
OpenShell.Sdk.dll

The draft policy of a sandbox.

public sealed record DraftPolicy : IEquatable<DraftPolicy>
Inheritance
DraftPolicy
Implements
Inherited Members

Constructors

DraftPolicy(IReadOnlyList<DraftChunk>, string, ulong, DateTimeOffset?)

The draft policy of a sandbox.

public DraftPolicy(IReadOnlyList<DraftChunk> Chunks, string RollingSummary, ulong DraftVersion, DateTimeOffset? LastAnalyzedAt)

Parameters

Chunks IReadOnlyList<DraftChunk>

Proposed rules.

RollingSummary string

Summary of all analysis; empty in mechanistic mode.

DraftVersion ulong

Current draft version.

LastAnalyzedAt DateTimeOffset?

When the last analysis finished.

Properties

Chunks

Proposed rules.

public IReadOnlyList<DraftChunk> Chunks { get; init; }

Property Value

IReadOnlyList<DraftChunk>

DraftVersion

Current draft version.

public ulong DraftVersion { get; init; }

Property Value

ulong

LastAnalyzedAt

When the last analysis finished.

public DateTimeOffset? LastAnalyzedAt { get; init; }

Property Value

DateTimeOffset?

RollingSummary

Summary of all analysis; empty in mechanistic mode.

public string RollingSummary { get; init; }

Property Value

string