MetadataName<T> Class

Definition

A strongly-typed name of metadata that can be stored in a RateLimitLease.

public sealed class MetadataName<T> : IEquatable<System.Threading.RateLimiting.MetadataName<T>>
type MetadataName<'T> = class
    interface IEquatable<MetadataName<'T>>
Public NotInheritable Class MetadataName(Of T)
Implements IEquatable(Of MetadataName(Of T))

Type Parameters

T

The type the metadata will be.

Inheritance
MetadataName<T>
Implements

Constructors

MetadataName<T>(String)

Constructs a MetadataName<T> object with the given name.

Properties

Name

Gets the name of the metadata.

Methods

Equals(MetadataName<T>)

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

Equals(Object)

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

GetHashCode()

Serves as the default hash function.

ToString()

Returns a string that represents the current object.

Operators

Equality(MetadataName<T>, MetadataName<T>)

Determines whether two MetadataName<T> are equal to each other.

Inequality(MetadataName<T>, MetadataName<T>)

Determines whether two MetadataName<T> are not equal to each other.

Applies to