- Preparing search index...
- The search index is not available
Kosmos v26.1.1
Interface BindingToSyntax<T>
Methods
to
- to(constructor: (new (...args: any[]) => T)): BindingInWhenOnSyntax<T>
-
Parameters
-
constructor: (new (...args: any[]) => T)
-
- new (...args: any[]): T
-
Returns T
toConstantValue
- toConstantValue(value: T): BindingWhenOnSyntax<T>
-
toConstructor
- toConstructor<T2>(constructor: Newable<T2>): BindingWhenOnSyntax<T>
-
toDynamicValue
- toDynamicValue(func: ((context: Context) => T)): BindingInWhenOnSyntax<T>
-
toFunction
- toFunction(func: T): BindingWhenOnSyntax<T>
-
toService
- toService(service: ServiceIdentifier<T>): void
-
Returns void