bindInstance<T> method

void bindInstance<T>(
  1. T instance
)

Registers a singleton instance of type T.

Implementation

void bindInstance<T>(T instance) {
  container.bindInstance<T>(instance);
}