Struct IccProfileId
ICC Profile ID
Implements
Inherited Members
Namespace: SixLabors.ImageSharp.Metadata.Profiles.Icc
Assembly: SixLabors.ImageSharp.dll
Syntax
public readonly struct IccProfileId : IEquatable<IccProfileId>
Constructors
| Edit this page View SourceIccProfileId(uint, uint, uint, uint)
Initializes a new instance of the IccProfileId struct.
Declaration
public IccProfileId(uint p1, uint p2, uint p3, uint p4)
Parameters
Type | Name | Description |
---|---|---|
uint | p1 | Part 1 of the ID |
uint | p2 | Part 2 of the ID |
uint | p3 | Part 3 of the ID |
uint | p4 | Part 4 of the ID |
Fields
| Edit this page View SourceZero
A profile ID with all values set to zero
Declaration
public static readonly IccProfileId Zero
Field Value
Type | Description |
---|---|
IccProfileId |
Properties
| Edit this page View SourceIsSet
Gets a value indicating whether the ID is set or just consists of zeros.
Declaration
public bool IsSet { get; }
Property Value
Type | Description |
---|---|
bool |
Part1
Gets the first part of the ID.
Declaration
public uint Part1 { get; }
Property Value
Type | Description |
---|---|
uint |
Part2
Gets the second part of the ID.
Declaration
public uint Part2 { get; }
Property Value
Type | Description |
---|---|
uint |
Part3
Gets the third part of the ID.
Declaration
public uint Part3 { get; }
Property Value
Type | Description |
---|---|
uint |
Part4
Gets the fourth part of the ID.
Declaration
public uint Part4 { get; }
Property Value
Type | Description |
---|---|
uint |
Methods
| Edit this page View SourceEquals(IccProfileId)
Indicates whether the current object is equal to another object of the same type.
Declaration
public bool Equals(IccProfileId other)
Parameters
Type | Name | Description |
---|---|---|
IccProfileId | other | An object to compare with this object. |
Returns
Type | Description |
---|---|
bool | true if the current object is equal to the |
Equals(object?)
Indicates whether this instance and a specified object are equal.
Declaration
public override bool Equals(object? obj)
Parameters
Type | Name | Description |
---|---|---|
object | obj | The object to compare with the current instance. |
Returns
Type | Description |
---|---|
bool | true if |
Overrides
| Edit this page View SourceGetHashCode()
Returns the hash code for this instance.
Declaration
public override int GetHashCode()
Returns
Type | Description |
---|---|
int | A 32-bit signed integer that is the hash code for this instance. |
Overrides
| Edit this page View SourceToString()
Returns the fully qualified type name of this instance.
Declaration
public override string ToString()
Returns
Type | Description |
---|---|
string | The fully qualified type name. |
Overrides
Operators
| Edit this page View Sourceoperator ==(IccProfileId, IccProfileId)
Compares two IccProfileId objects for equality.
Declaration
public static bool operator ==(IccProfileId left, IccProfileId right)
Parameters
Type | Name | Description |
---|---|---|
IccProfileId | left | The IccProfileId on the left side of the operand. |
IccProfileId | right | The IccProfileId on the right side of the operand. |
Returns
Type | Description |
---|---|
bool | True if the |
operator !=(IccProfileId, IccProfileId)
Compares two IccProfileId objects for equality.
Declaration
public static bool operator !=(IccProfileId left, IccProfileId right)
Parameters
Type | Name | Description |
---|---|---|
IccProfileId | left | The IccProfileId on the left side of the operand. |
IccProfileId | right | The IccProfileId on the right side of the operand. |
Returns
Type | Description |
---|---|
bool | True if the |