klyn.data.memory.MemoryConfiguration.MemoryConfiguration
constructor

    public MemoryConfiguration(repositories as IList<MemoryRepositoryRegistration>):

Description

Creates an immutable registry of typed in-memory repositories.

Parameters

Parameter | Description
--- | ---
`repositories` | Repositories available in this memory environment.

Throws

- EntityMappingException when a registration is null or duplicated.

Example

    configuration = MemoryConfiguration([
    MemoryRepository<User, Int>(users)
    ])