-
Notifications
You must be signed in to change notification settings - Fork 448
Cleanup in ApplicationCache #410
Conversation
|
Why are you implementing using Dictionary instead of IDictionary? Is using the actual class what allows you to take out all of the implementation methods that you also removed? |
|
|
|
Also, in general we don’t have any custom implementations of IDictionary and other list/collection interfaces, so there’s no advantage in passing interfaces around (tests can use the concrete classes just fine as well). We only pass interfaces around when we need to have them available in Unrelated to Dictionary, just fyi Unity can serialize |
|
To aid this effort classes in |
|
|
jcansdale
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This makes sense. I had questions but they're already been answered above. 👍
As mentioned in #390 (comment)
I changed
IRemoteConfigBranchDictionaryto implementIDictionary<string,Dictionary<string,ConfigBranch>>