Class RegistryReferenceAttribute

Namespace: redb.Route.Core
Assembly: redb.Route.dll

Declares that the option's value names an object in the context registry (connectionFactory=main,
headerFilterStrategy=#filter; the # is optional, the lookup strips it). The engine resolves the name
where the endpoint is built; tooling reads the declaration by reflection: the component catalog writes it as the
option's reference, and the package gate holds the name against the beans the package declares.

[AttributeUsage(AttributeTargets.Property, Inherited = true, AllowMultiple = false)]
public class RegistryReferenceAttribute : Attribute

Inheritance

Object→Attribute→RegistryReferenceAttribute

Derived

Properties

Expected

The type the registry object must have, or null when the option does not say.

public Type? Expected { get; }

Constructors

RegistryReferenceAttribute(Type?)

Declares that the option's value names an object in the context registry (connectionFactory=main,