Class JsonLDContextObject.TermMap
- Namespace
- ActivityPub.Types.Util
- Assembly
- ActivityPub.Types.dll
private sealed class JsonLDContextObject.TermMap : IEquatable<JsonLDContextObject.TermMap>
- Inheritance
-
JsonLDContextObject.TermMap
- Implements
- Inherited Members
Constructors
TermMap(IReadOnlyDictionary<string, JsonLDTerm>)
public TermMap(IReadOnlyDictionary<string, JsonLDTerm> data)
Parameters
data
IReadOnlyDictionary<string, JsonLDTerm>
Fields
_data
private readonly Dictionary<string, JsonLDTerm> _data
Field Value
Properties
Data
public IReadOnlyDictionary<string, JsonLDTerm> Data { get; }
Property Value
Methods
Equals(TermMap?)
Indicates whether the current object is equal to another object of the same type.
public bool Equals(JsonLDContextObject.TermMap? other)
Parameters
other
JsonLDContextObject.TermMapAn object to compare with this object.
Returns
Equals(object?)
Determines whether the specified object is equal to the current object.
public override bool Equals(object? obj)
Parameters
obj
objectThe object to compare with the current object.
Returns
GetHashCode()
Serves as the default hash function.
public override int GetHashCode()
Returns
- int
A hash code for the current object.