Table of Contents

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

Dictionary<string, JsonLDTerm>

Properties

Data

public IReadOnlyDictionary<string, JsonLDTerm> Data { get; }

Property Value

IReadOnlyDictionary<string, JsonLDTerm>

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.TermMap

An object to compare with this object.

Returns

bool

true if the current object is equal to the other parameter; otherwise, false.

Equals(object?)

Determines whether the specified object is equal to the current object.

public override bool Equals(object? obj)

Parameters

obj object

The object to compare with the current object.

Returns

bool

true if the specified object is equal to the current object; otherwise, false.

GetHashCode()

Serves as the default hash function.

public override int GetHashCode()

Returns

int

A hash code for the current object.