INotableDateAlgorithmRegistry Interface
Definition
- Namespace
- Bodu.Globalization.Calendar.Algorithms
- Assembly
- Bodu.Globalization.Calendar.dll
- Package
- Bodu.Globalization.Calendar 1.0.1
Provides lookup of custom INotableDateAlgorithm implementations by key, supplementing the engine's built-in algorithm catalogue.
public interface INotableDateAlgorithmRegistry
- Extension Methods
Methods
Contains(string)
Determines whether an algorithm is registered under the supplied key.
bool Contains(string key)
Parameters
keystringThe algorithm key.
Returns
TryGet(string, out INotableDateAlgorithm?)
Attempts to retrieve the algorithm registered under the supplied key.
bool TryGet(string key, out INotableDateAlgorithm? algorithm)
Parameters
keystringThe algorithm key.
algorithmINotableDateAlgorithmWhen this method returns, the registered algorithm, or null when none.
Returns
Applies to
| Product | Versions |
|---|---|
| .NET | 8, 10 |