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
Valuebyte[]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
otherBytesSettingAn object to compare with this object.
Returns
GetHashCode()
Serves as the default hash function.
public override int GetHashCode()
Returns
- int
A hash code for the current object.