build

abstract fun build(context: EnvironmentContext): E

Builds the injection environment using the given context.

The implementation should be trivial: just call your injection environment's constructor with the given context.

Parameters

context

The context to use for the injection environment.