Table of Contents

Class IndexMeta

Namespace
Tharga.MongoDB
Assembly
Tharga.MongoDB.dll
public record IndexMeta : IEquatable<IndexMeta>
Inheritance
IndexMeta
Implements
Inherited Members

Properties

Fields

public required string[] Fields { get; init; }

Property Value

string[]

IsUnique

public required bool IsUnique { get; init; }

Property Value

bool

Name

public required string Name { get; init; }

Property Value

string

Methods

Equals(IndexMeta)

Indicates whether the current object is equal to another object of the same type.

public virtual bool Equals(IndexMeta other)

Parameters

other IndexMeta

An object to compare with this object.

Returns

bool

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

GetHashCode()

Serves as the default hash function.

public override int GetHashCode()

Returns

int

A hash code for the current object.