Module conditional

Module conditional 

Source
Expand description

Conditional component definition registration support.

Structs§

SimpleContextFactory
Factory producing contexts containing only the necessary data and noting more.

Enums§

ConditionMetadata
Metadata for the entity which is currently evaluated for registration.

Traits§

ComponentDefinitionRegistryFacade
A read-only facade of a ComponentDefinitionRegistry safe to use in registration conditions.
Context
Context information for use by condition implementations.
ContextFactory
Factory for contexts for conditional component registration.

Functions§

registered_component
Simple condition returning true if the given type is already registered.
unregistered_component
Simple condition returning true if the given type is not registered yet.
unregistered_name
Returns true if no given name is already registered.

Type Aliases§

ComponentCondition
Registration condition which should pass to let given ConditionMetadata be registered.