Class ClaimCheckRepositoryRegistry

Assembly: redb.Route.dll

Resolves instances for Claim Check steps. A named repository is found in the
registry by its bare name, checked for type (Camel's lookupByNameAndType), the
same key every other #name reference uses. The repository of steps that name none is the context's
service, looked up by type.

public static class ClaimCheckRepositoryRegistry

Inheritance

Object→ClaimCheckRepositoryRegistry

Methods

AddClaimCheckRepository(IRouteContext, string, IClaimCheckRepository)

Registers an in the context registry under name, so

public static IRouteContext AddClaimCheckRepository(this IRouteContext context, string name, IClaimCheckRepository repository)

ResolveClaimCheckRepository(IRouteContext, string?)

Resolves the repository for a Claim Check step. A name is looked up in the registry; without one, the context's

public static IClaimCheckRepository ResolveClaimCheckRepository(this IRouteContext context, string? repositoryName = null)

SetDefaultClaimCheckRepository(IRouteContext, IClaimCheckRepository)

Registers the repository used by Claim Check steps that name none, as the context's

public static IRouteContext SetDefaultClaimCheckRepository(this IRouteContext context, IClaimCheckRepository repository)