@arcmantle/adapter-element
    Preparing search index...

    Class RegisterSpecifier<T>

    Fluent API class for adding naming and tagging to bindings. Allows for more granular identification of bindings beyond just the identifier.

    Type Parameters

    • T

      The type of the bound value

    Index

    Constructors

    Properties

    Methods

    Constructors

    • Type Parameters

      • T

      Parameters

      Returns RegisterSpecifier<T>

    Properties

    binding: Binding

    Methods

    • Registers the binding with a name, allowing for additional granularity when resolving.

      Parameters

      • name: string

      Returns RegisterLifetimeWithActivator<T>

    • Registers an activator function that will be called when the binding is resolved.
      This allows for additional processing or modification of the instance before it is returned.

      Parameters

      Returns RegisterLifetime

    • Registers the binding with a name and tag, allowing for additional granularity when resolving.

      Parameters

      • name: string
      • tag: string

      Returns RegisterLifetimeWithActivator<T>