csharp-ovh
csharp-ovh copied to clipboard
Replace the endpoints Dictionary with a IReadOnlyDictionary
Change the endpoints type from Dictionary with a IReadOnlyDictionary to prevent accidental insertions or updates.
Note that I didn't choose to use the ReadOnlyDictionary type since the default dictionary type already implements the IReadOnlyDictionary interface, this would have added a new import, and it is slower and heavier to create and heavier.