Function bindContribution

  • Helper function to bind a service to a list of contributions easily.

    Parameters

    • bindable: Bindable

      a Container or the bind function directly.

    • service: ServiceIdentifier<any>

      an already bound service to refer the contributions to.

    • contributions: ServiceIdentifier<any>[]

      array of contribution identifiers to bind the service to.

    Returns void