Skip to content

Conversation

@nouveau-nvc0
Copy link

I needed to use DictionaryByValue<K, V> and ListByValue<T> as read-only properties in a class. To support this, I implemented the IReadOnlyDictionary<K, V> interface for DictionaryByValue<K, V> and the IReadOnlyList<T> interface for ListByValue<T>. This allows these containers to be used in scenarios where read-only access is required.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant