-
Notifications
You must be signed in to change notification settings - Fork 5.5k
Add HybridCache.GetOrCreateAsync overloads for dynamic setting of options #129048
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Merged
Changes from all commits
Commits
Show all changes
19 commits
Select commit
Hold shift + click to select a range
426adff
Add HybridCacheFactoryContext and context-aware GetOrCreateAsync over…
svick 7f06ec1
Fix XML docs on HybridCacheEntryOptions properties
svick c3e3ec1
Update flag docs: enumerate write-side and read-side flags explicitly
svick 570f73b
Rename HybridCacheFactoryContext to HybridCacheEntryContext; add Curr…
svick 5f929e6
Initial implementation of the approved API
svick 1bebad4
Small improvements
svick 64223d8
Added compatibility suppression for changing init setters to regular …
svick 69ce3e2
Make sure externally called internal methods are preserved
svick 801c9f0
Comments updates
svick 29dac38
Added tests for the default implementation
svick c47eed5
Small helper method to centralize comment
svick 0092bbd
Rework factory options API to HybridCacheEntryContext
svick 919a158
Remove ineffective ILLink.Descriptors.LibraryBuild.xml
svick 8bda51a
Make HybridCacheEntryContext options-seeding constructor the public one
svick a448113
Add contract tests for ReadOnlySpan<char> and interpolated-string key…
svick 3ceb09e
Clarify HybridCacheEntryContext initialization guarantee in remarks
svick 99ed585
Use the field keyword in HybridCacheEntryContext
svick 3daf0ad
Use 'Gets or sets' for HybridCacheEntryOptions property docs
svick e9245a6
Defer context allocation and avoid redundant options materialization …
svick File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Some comments aren't visible on the classic Files Changed page.
There are no files selected for viewing
This file contains hidden or 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 hidden or 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 hidden or 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
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.