nspectre - declarative validation for .NET

CompiledSettings Constructor (ILogger, Int32)

Creates a new instance of CompiledSettings.

public CompiledSettings(
   ILogger logger,
   int initialCapacity
);

Parameters

logger
The ILogger to be used by this CompiledSettings instance.
initialCapacity
The initial capacity.

Remarks

Ideally initialCapacityshould be set to the number of types that CompiledSettings is expected to hold.

See Also

CompiledSettings Class | NSpectre.Core.Configuration Namespace | CompiledSettings Constructor Overload List