bindInstance<T> method
- T instance
Registers a singleton instance of type T.
Implementation
void bindInstance<T>(T instance) {
container.bindInstance<T>(instance);
}
Registers a singleton instance of type T.
void bindInstance<T>(T instance) {
container.bindInstance<T>(instance);
}