Skip to content

Can IOptionsMonitor listen for changes from memory? #41071

@zms9110750

Description

@zms9110750

Type of issue

Code doesn't work

Description

The API documentation states that he monitors configuration changes. Without emphasis, it can only take effect of files.
I hope you can introduce how to monitor configurations originating from memory. If it is not possible or other preparatory work needs to be done first, please clarify.

Page URL

https://learn.microsoft.com/zh-cn/dotnet/core/extensions/options#ioptionsmonitor

Content source URL

https://github.com/dotnet/docs/blob/main/docs/core/extensions/options.md

Document Version Independent Id

00449cdc-b8fc-a9ff-3f20-0ef0994db354

Article author

@IEvangelist

Metadata

  • ID: 433988ea-fda9-aa83-f6ee-221a5521a422
  • Service: dotnet-fundamentals

Associated WorkItem - 297241

Metadata

Metadata

Assignees

Labels

📌 seQUESTeredIdentifies that an issue has been imported into Quest.dotnet-fundamentals/svcin-prThis issue will be closed (fixed) by an active pull request.okr-qualityContent-quality KR: Concerns article defects (bugs), freshness, or build warnings.

Type

No type

Projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions