Skip to content
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

Adds support for IOptionMonitor #58

Merged
merged 11 commits into from Oct 28, 2021
Merged

Adds support for IOptionMonitor #58

merged 11 commits into from Oct 28, 2021

Conversation

ealsur
Copy link
Member

@ealsur ealsur commented Oct 28, 2021

Adds support for creating a CosmosCache instance with an IOptionsMonitor<CosmosCacheOptions> input parameter and react to options changes.

Closes #57

@ealsur ealsur self-assigned this Oct 28, 2021
src/CosmosCache.cs Show resolved Hide resolved
src/CosmosCache.cs Outdated Show resolved Hide resolved
src/CosmosCache.cs Show resolved Hide resolved
Copy link

@jviau jviau left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@ealsur ealsur merged commit 891c991 into master Oct 28, 2021
@ealsur ealsur deleted the users/ealsur/monitor branch October 28, 2021 21:04
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.

Support configuration/options reload (use IOptionsMonitor)
2 participants