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

What do the parameters on the callback mean? #10510

Open
ThomasAlbertine opened this issue Oct 7, 2024 · 3 comments
Open

What do the parameters on the callback mean? #10510

ThomasAlbertine opened this issue Oct 7, 2024 · 3 comments
Labels
area-Extensions-Options Pri3 Indicates issues/PRs that are low priority
Milestone

Comments

@ThomasAlbertine
Copy link

Type of issue

Missing information

Description

If I want to use OnChange to react to a change reported by the options monitor, I'd like to know what the parameters I'm being passed are for.

I'm guessing that the TOptions parameter is the previous options object prior to the changes that provoked the event, but I don't really know for sure. I don't know what data I'll get in the string.

Page URL

https://learn.microsoft.com/en-us/dotnet/api/microsoft.extensions.options.ioptionsmonitor-1.onchange?view=net-8.0

Content source URL

https://github.com/dotnet/dotnet-api-docs/blob/main/xml/Microsoft.Extensions.Options/IOptionsMonitor`1.xml

Document Version Independent Id

162eb23c-646a-f261-fb19-70ec0096489d

Article author

@dotnet-bot

@issues-automation issues-automation bot added the Pri3 Indicates issues/PRs that are low priority label Oct 7, 2024
@dotnet-policy-service dotnet-policy-service bot added the untriaged New issue has not been triaged by the area owner label Oct 7, 2024
Copy link

I couldn't figure out the best area label to add to this issue. If you have write-permissions please help me learn by adding exactly one area label.

@dotnet-issue-labeler dotnet-issue-labeler bot added the needs-area-label An area label is needed to ensure this gets routed to the appropriate area owners label Oct 7, 2024
Copy link

I couldn't figure out the best area label to add to this issue. If you have write-permissions please help me learn by adding exactly one area label.

@bartonjs bartonjs added area-Extensions-Options and removed needs-area-label An area label is needed to ensure this gets routed to the appropriate area owners labels Oct 8, 2024
Copy link
Contributor

Tagging subscribers to this area: @dotnet/area-extensions-options

@tarekgh tarekgh removed the untriaged New issue has not been triaged by the area owner label Oct 9, 2024
@tarekgh tarekgh added this to the Backlog milestone Oct 9, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area-Extensions-Options Pri3 Indicates issues/PRs that are low priority
Projects
None yet
Development

No branches or pull requests

3 participants