Documentation
Table of Contents

Constructor InMemoryMappingStore

Namespace
IntentSharp.Mapping
Assembly
IntentSharp.dll

InMemoryMappingStore(int)

Creates an empty store that holds at most capacity keys, with the system clock for the replacement cap's windows.

public InMemoryMappingStore(int capacity = 10000)

Parameters

capacity int

The most keys held; each key keeps every revision.

Exceptions

ArgumentOutOfRangeException

capacity is less than 1.

InMemoryMappingStore(int, TimeProvider)

Creates an empty store that holds at most capacity keys, with timeProvider for the replacement cap's windows and the retirement times.

public InMemoryMappingStore(int capacity, TimeProvider timeProvider)

Parameters

capacity int

The most keys held; each key keeps every revision.

timeProvider TimeProvider

The clock.

Exceptions

ArgumentOutOfRangeException

capacity is less than 1.

ArgumentNullException

timeProvider is null.