Table of Contents

Namespace Arc4u

Classes

AppSettings

The application-wide IAppSettings: the key/value pairs found in the AppSettings section of the configuration. It is registered as a singleton through the Export/Shared attributes.

Bound<T>

Represents a bound of an Interval<T>. This class cannot be inherited.

EventArgs<T>

Define a generic event argument.

EventArgs<T1, T2>

Define a generic event argument with both values of type T1 and T2.

FlagsEnum

Provides extension methods for flags enumerations.

GraphJsonConverterFactory

Creates the System.Text.Json converter of a Graph<T>, which writes the graph as {"Includes":[...]} and reads it back without checking the paths. It works with the reflection-based serializer and with the source generator.

Graph<T>

The include paths of an aggregate of type T: the references and collections to load with it, such as Customer.Address or Lines.Product.

Interval

Gathers operations performed on Interval<T>. This class cannot be inherited.

IntervalCollection<T>

Represents a collection of intervals. This class cannot be inherited.

Interval<T>

Represents an interval of values delimited by a LowerBound and an UpperBound, giving support for set theory operations. Provides the base class for types requiring support of set theory operations, such as the Period class.

LoggerMessages

Source-generated log messages used by the time zone and certificate handling of Arc4u.

Period

Represents a period. This class cannot be inherited.

TimeZoneContext

Converts dates between UTC and the time zone of the application, which is defined by TimeZone in the ApplicationConfig. When the time zone is not configured or cannot be found, the time zone of the machine is used. The most recently created instance is available through Current.

WaitHandleHelper

Helpers for WaitHandle.

Structs

TimeoutHelper

Measures a timeout from the moment it is created and provides helpers to compute with time spans where MaxValue means "infinite".

Interfaces

IAppSettings

A set of key/value settings describing the application (see IKeyValueSettings). It is a marker interface that allows the application-wide settings to be resolved from the dependency injection container.

IKeyValueSettings

Define the informations we need to retrive a token for an account and the service uri for calling backend service.

Enums

BoundDirection

Specifies the possible directions of a Bound<T>.

BoundType

Specifies the possible types of a Bound<T>.

UnionDenominator

Specifies the denominator to consider while performing an UnionOf intervals.