Table of Contents

Class ConfigUpdateResult

Namespace
OpenShell
Assembly
OpenShell.Sdk.dll

The result of a configuration update.

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

Constructors

ConfigUpdateResult(uint, string, ulong, bool, IReadOnlyDictionary<string, string>)

The result of a configuration update.

public ConfigUpdateResult(uint Version, string PolicyHash, ulong SettingsRevision, bool Deleted, IReadOnlyDictionary<string, string> Annotations)

Parameters

Version uint

Assigned policy version.

PolicyHash string

SHA-256 hash of the applied policy.

SettingsRevision ulong

Revision of the settings scope that changed.

Deleted bool

True when a delete removed an existing key.

Annotations IReadOnlyDictionary<string, string>

Sandbox annotations after the update; empty for global updates.

Properties

Annotations

Sandbox annotations after the update; empty for global updates.

public IReadOnlyDictionary<string, string> Annotations { get; init; }

Property Value

IReadOnlyDictionary<string, string>

Deleted

True when a delete removed an existing key.

public bool Deleted { get; init; }

Property Value

bool

PolicyHash

SHA-256 hash of the applied policy.

public string PolicyHash { get; init; }

Property Value

string

SettingsRevision

Revision of the settings scope that changed.

public ulong SettingsRevision { get; init; }

Property Value

ulong

Version

Assigned policy version.

public uint Version { get; init; }

Property Value

uint