Table of Contents

IAdjustmentHandlerRegistry Interface

Definition

Namespace
Bodu.Globalization.Calendar
Assembly
Bodu.Globalization.Calendar.dll
Package
Bodu.Globalization.Calendar 1.0.1
Source
IAdjustmentHandlerRegistry.cs

Provides lookup of custom IAdjustmentHandler implementations by handler key, binding the Custom action to caller-supplied logic.

public interface IAdjustmentHandlerRegistry
Extension Methods

Methods

Contains(string)

Determines whether a handler is registered under the supplied key.

bool Contains(string key)

Parameters

key string

The handler key.

Returns

bool

true if a handler is registered; otherwise false.

TryGet(string, out IAdjustmentHandler?)

Attempts to retrieve the handler registered under the supplied key.

bool TryGet(string key, out IAdjustmentHandler? handler)

Parameters

key string

The handler key.

handler IAdjustmentHandler

When this method returns, the registered handler, or null when none.

Returns

bool

true if a handler was found; otherwise false.

Applies to

ProductVersions
.NET8, 10