# Functions

NewBuildReferencesDecorator creates a new instance of the decorator.
NewContainerReferences creates a new instance of the references Returns *ContainerReferences.
NewEmptyManagedReferences creates a new instance of the references Returns: *ManagedReferences.
NewLinkReferencesDecorator creates a new instance of the decorator.
NewManagedReferences creates a new instance of the references Parameters: - ctx context.Context - tuples []any tuples where odd values are component locators (descriptors) and even values are component references Returns: *ManagedReferences.
NewManagedReferencesFromTuples creates a new ManagedReferences object filled with provided key-value pairs called tuples.
NewReferencesDecorator creates a new instance of the decorator.
NewRunReferencesDecorator creates a new instance of the decorator.

# Structs

BuildReferencesDecorator references decorator that automatically creates missing components using available component factories upon component retrival.
ContainerReferences container managed references that can be created from container configuration.
LinkReferencesDecorator references decorator that automatically sets references to newly added components that implement IReferenceable interface and unsets references from removed components that implement IUnreferenceable interface.
ManagedReferences managed references that in addition to keeping and locating references can also manage their lifecycle: Auto-creation of missing component using available factories Auto-linking newly added components Auto-opening newly added components Auto-closing removed components.
ReferencesDecorator chainable decorator for IReferences that allows to inject additional capabilities such as automatic component creation, automatic registration and opening.
RunReferencesDecorator References decorator that automatically opens to newly added components that implement IOpenable interface and closes removed components that implement ICloseable interface.