Interface IIdempotentRepositoryProvider
Lookup service for named instances. Lets routes refer
to repositories by string name (resolved lazily during pipeline execution) instead of
holding a hard reference at definition time.
Useful when the same route definition is reused across multiple contexts/tenants where
each picks its own backing store, or when DI registration occurs after routes are defined.
public interface IIdempotentRepositoryProvider
Methods
TryGet(string, out IIdempotentRepository)
Looks up a repository by name. false when nothing is registered under it; an object of another type
bool TryGet(string name, out IIdempotentRepository repository)