[Use the Thumbs Up reaction to vote for this feature, and please avoid adding comments like "+1" as they create noise for others watching the issue.]
Is your feature request related to a problem? Please describe.
Dependency injected I have an IAppCache which I can add items to but I have to build the key so there is no possible clash with another. This is usually fine but would be better if I could define a section dedicated to my types without worry of a clash.
Describe the solution you'd like
I'm proposing adding an extension IAppCache GetSection(this IAppCache cache, string section) which would prepend the section to every key automatically.
This would be a very small non-breaking change.
Describe alternatives you've considered
None that I can think of.
[Use the Thumbs Up reaction to vote for this feature, and please avoid adding comments like "+1" as they create noise for others watching the issue.]
Is your feature request related to a problem? Please describe. Dependency injected I have an IAppCache which I can add items to but I have to build the key so there is no possible clash with another. This is usually fine but would be better if I could define a section dedicated to my types without worry of a clash.
Describe the solution you'd like I'm proposing adding an extension
IAppCache GetSection(this IAppCache cache, string section)
which would prepend the section to every key automatically.This would be a very small non-breaking change.
Describe alternatives you've considered None that I can think of.
Additional context None.