Struct Attribute<V, I>
public struct Attribute<V, I> : IAttribute<V>, IEquatable<IAttribute<V>> where V : struct where I : IEquatable<I>
Type Parameters
VI
- Implements
-
IAttribute<V>IEquatable<IAttribute<V>>
- Inherited Members
Constructors
Attribute(I)
public Attribute(I identifier)
Parameters
identifierI
Methods
Equals(object?)
Indicates whether this instance and a specified object are equal.
public override bool Equals(object? other)
Parameters
otherobject
Returns
- bool
true if
objand this instance are the same type and represent the same value; otherwise, false.
Equals(IAttribute<V>?)
Indicates whether the current object is equal to another object of the same type.
public bool Equals(IAttribute<V>? other)
Parameters
otherIAttribute<V>An object to compare with this object.
Returns
GetHashCode()
Returns the hash code for this instance.
public override int GetHashCode()
Returns
- int
A 32-bit signed integer that is the hash code for this instance.
ToString()
Returns the fully qualified type name of this instance.
public override string ToString()
Returns
- string
The fully qualified type name.