Table of Contents

Class BytesSetting

Namespace
OpenShell
Assembly
OpenShell.Sdk.dll

A byte-array setting, compared by content.

public sealed record BytesSetting : SettingValue, IEquatable<SettingValue>, IEquatable<BytesSetting>
Inheritance
BytesSetting
Implements
Inherited Members

Constructors

BytesSetting(byte[])

A byte-array setting, compared by content.

public BytesSetting(byte[] Value)

Parameters

Value byte[]

The value.

Properties

Value

The value.

public byte[] Value { get; init; }

Property Value

byte[]

Methods

Equals(BytesSetting?)

Indicates whether the current object is equal to another object of the same type.

public bool Equals(BytesSetting? other)

Parameters

other BytesSetting

An object to compare with this object.

Returns

bool

true if the current object is equal to the other parameter; otherwise, false.

GetHashCode()

Serves as the default hash function.

public override int GetHashCode()

Returns

int

A hash code for the current object.