Table of Contents

IAdjustmentTriggerHandlerRegistry Interface

Definition

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

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

public interface IAdjustmentTriggerHandlerRegistry
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 IAdjustmentTriggerHandler?)

Attempts to retrieve the handler registered under the supplied key.

bool TryGet(string key, out IAdjustmentTriggerHandler? handler)

Parameters

key string

The handler key.

handler IAdjustmentTriggerHandler

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