Table of Contents

Class Mention

Namespace
NetCord
Assembly
NetCord.dll
public static class Mention
Inheritance
Mention
Inherited Members

Methods

ParseChannel(ReadOnlySpan<char>)

public static ulong ParseChannel(ReadOnlySpan<char> mention)

Parameters

mention ReadOnlySpan<char>

Returns

ulong

ParseGuildNavigation(ReadOnlySpan<char>)

public static GuildNavigation ParseGuildNavigation(ReadOnlySpan<char> mention)

Parameters

mention ReadOnlySpan<char>

Returns

GuildNavigation

ParseRole(ReadOnlySpan<char>)

public static ulong ParseRole(ReadOnlySpan<char> mention)

Parameters

mention ReadOnlySpan<char>

Returns

ulong

ParseSlashCommand(ReadOnlySpan<char>)

public static SlashCommandMention ParseSlashCommand(ReadOnlySpan<char> mention)

Parameters

mention ReadOnlySpan<char>

Returns

SlashCommandMention

ParseTimestamp(ReadOnlySpan<char>)

public static Timestamp ParseTimestamp(ReadOnlySpan<char> mention)

Parameters

mention ReadOnlySpan<char>

Returns

Timestamp

ParseUser(ReadOnlySpan<char>)

public static ulong ParseUser(ReadOnlySpan<char> mention)

Parameters

mention ReadOnlySpan<char>

Returns

ulong

TryFormatChannel(Span<char>, out int, ulong)

public static bool TryFormatChannel(Span<char> destination, out int charsWritten, ulong id)

Parameters

destination Span<char>
charsWritten int
id ulong

Returns

bool

TryFormatRole(Span<char>, out int, ulong)

public static bool TryFormatRole(Span<char> destination, out int charsWritten, ulong id)

Parameters

destination Span<char>
charsWritten int
id ulong

Returns

bool

TryFormatUser(Span<char>, out int, ulong)

public static bool TryFormatUser(Span<char> destination, out int charsWritten, ulong id)

Parameters

destination Span<char>
charsWritten int
id ulong

Returns

bool

TryParseChannel(ReadOnlySpan<char>, out ulong)

public static bool TryParseChannel(ReadOnlySpan<char> mention, out ulong id)

Parameters

mention ReadOnlySpan<char>
id ulong

Returns

bool

TryParseGuildNavigation(ReadOnlySpan<char>, out GuildNavigation)

public static bool TryParseGuildNavigation(ReadOnlySpan<char> mention, out GuildNavigation result)

Parameters

mention ReadOnlySpan<char>
result GuildNavigation

Returns

bool

TryParseRole(ReadOnlySpan<char>, out ulong)

public static bool TryParseRole(ReadOnlySpan<char> mention, out ulong id)

Parameters

mention ReadOnlySpan<char>
id ulong

Returns

bool

TryParseSlashCommand(ReadOnlySpan<char>, out SlashCommandMention)

public static bool TryParseSlashCommand(ReadOnlySpan<char> mention, out SlashCommandMention result)

Parameters

mention ReadOnlySpan<char>
result SlashCommandMention

Returns

bool

TryParseTimestamp(ReadOnlySpan<char>, out Timestamp)

public static bool TryParseTimestamp(ReadOnlySpan<char> mention, out Timestamp result)

Parameters

mention ReadOnlySpan<char>
result Timestamp

Returns

bool

TryParseUser(ReadOnlySpan<char>, out ulong)

public static bool TryParseUser(ReadOnlySpan<char> mention, out ulong id)

Parameters

mention ReadOnlySpan<char>
id ulong

Returns

bool