Table of Contents

Struct EmbedProvider

Namespace
Discord
Assembly
Discord.Net.Core.dll

A provider field for an Embed.

public struct EmbedProvider
Inherited Members

Properties

Name

Gets the name of the provider.

public readonly string Name { get; }

Property Value

string

A string representing the name of the provider.

Url

Gets the URL of the provider.

public readonly string Url { get; }

Property Value

string

A string representing the link to the provider.

Methods

Equals(EmbedProvider?)

Determines whether the specified EmbedProvider is equal to the current EmbedProvider

public bool Equals(EmbedProvider? embedProvider)

Parameters

embedProvider EmbedProvider?

The EmbedProvider to compare with the current EmbedProvider

Returns

bool

Equals(object)

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

public override bool Equals(object obj)

Parameters

obj object

The object to compare with the current EmbedProvider

Returns

bool

Remarks

If the object passes is an EmbedProvider, Equals(EmbedProvider?) will be called to compare the 2 instances

GetHashCode()

Returns the hash code for this instance.

public override int GetHashCode()

Returns

int

A 32-bit signed integer that is the hash code for this instance.

ToString()

Gets the name of the provider.

public override string ToString()

Returns

string

A string that resolves to Name.

Operators

operator ==(EmbedProvider?, EmbedProvider?)

public static bool operator ==(EmbedProvider? left, EmbedProvider? right)

Parameters

left EmbedProvider?
right EmbedProvider?

Returns

bool

operator !=(EmbedProvider?, EmbedProvider?)

public static bool operator !=(EmbedProvider? left, EmbedProvider? right)

Parameters

left EmbedProvider?
right EmbedProvider?

Returns

bool