-
Notifications
You must be signed in to change notification settings - Fork 46
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
bf34c18
commit 6f1bb43
Showing
3 changed files
with
7 additions
and
11 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
// | ||
// EnumKeyDictionaryConverterFactory.cs | ||
// EnumIntKeyDictionaryConverterFactory.cs | ||
// | ||
// Author: | ||
// Jarl Gullberg <[email protected]> | ||
|
@@ -31,7 +31,7 @@ namespace Remora.Discord.API.Json; | |
/// <summary> | ||
/// Creates a JSON converter for dictionaries with enum keys. | ||
/// </summary> | ||
internal class EnumKeyDictionaryConverterFactory : JsonConverterFactory | ||
internal class EnumIntKeyDictionaryConverterFactory : JsonConverterFactory | ||
{ | ||
/// <inheritdoc /> | ||
public override bool CanConvert(Type typeToConvert) | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters