INotableDateResourceProvider Interface
Definition
- Namespace
- Bodu.Globalization.Calendar
- Assembly
- Bodu.Globalization.Calendar.dll
- Package
- Bodu.Globalization.Calendar 1.0.1
Supplies the NotableDateResource currently in effect, allowing a long-lived service to observe a resource that is swapped at runtime.
public interface INotableDateResourceProvider
- Extension Methods
Remarks
A provider decouples a service from a single immutable resource: the service reads Current on each resolution, so a reload performed through a mutable provider takes effect on the next query without recreating the service or its consumers.
Properties
Current
Gets the resource currently in effect.
NotableDateResource Current { get; }
Property Value
- NotableDateResource
The current NotableDateResource.
Applies to
| Product | Versions |
|---|---|
| .NET | 8, 10 |