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
- embedProviderEmbedProvider?
- The EmbedProvider to compare with the current EmbedProvider 
Returns
Equals(object)
Determines whether the specified object is equal to the current EmbedProvider.
public override bool Equals(object obj)Parameters
- objobject
- The object to compare with the current EmbedProvider 
Returns
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
Operators
operator ==(EmbedProvider?, EmbedProvider?)
public static bool operator ==(EmbedProvider? left, EmbedProvider? right)Parameters
- leftEmbedProvider?
- rightEmbedProvider?
Returns
operator !=(EmbedProvider?, EmbedProvider?)
public static bool operator !=(EmbedProvider? left, EmbedProvider? right)Parameters
- leftEmbedProvider?
- rightEmbedProvider?