Class TagReference
- Namespace
- CMS.ContentEngine
- Assembly
- CMS.ContentEngine.dll
Represents tag reference data.
public sealed class TagReference
- Inheritance
-
objectTagReference
- Extension Methods
Constructors
TagReference()
public TagReference()
Properties
Identifier
Tag identifier.
public Guid Identifier { get; init; }
Property Value
- Guid
Methods
Equals(TagReference)
Determines whether the specified TagReference is equal to the current object.
Returns true if specified other object has the same Identifier value as the current object, false otherwise.
public bool Equals(TagReference other)
Parameters
otherTagReferenceThe TagReference object to compare with current object.
Returns
- bool
trueif the specified object is equal to the current object,falseotherwise.
Equals(object)
Determines whether the specified object is equal to the current object.
Returns true if the specified object is a TagReference and has the same Identifier value as the current object, false otherwise.
public override bool Equals(object obj)
Parameters
objobjectThe object to compare with the current object.
Returns
- bool
trueif the specified object is equal to the current object,falseotherwise.
GetHashCode()
Returns the hash code for the current object. The hash code is the same as the hash code of the Identifier value.
public override int GetHashCode()
Returns
- int
The hash code for the current object.