You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
20 lines
838 B
20 lines
838 B
4 weeks ago
|
import { interfaces } from "../interfaces/interfaces";
|
||
|
declare class Binding<T> implements interfaces.Binding<T> {
|
||
|
id: number;
|
||
|
moduleId: string;
|
||
|
activated: boolean;
|
||
|
serviceIdentifier: interfaces.ServiceIdentifier<T>;
|
||
|
implementationType: interfaces.Newable<T> | null;
|
||
|
cache: T | null;
|
||
|
dynamicValue: ((context: interfaces.Context) => T) | null;
|
||
|
scope: interfaces.BindingScope;
|
||
|
type: interfaces.BindingType;
|
||
|
factory: interfaces.FactoryCreator<T> | null;
|
||
|
provider: interfaces.ProviderCreator<T> | null;
|
||
|
constraint: (request: interfaces.Request) => boolean;
|
||
|
onActivation: ((context: interfaces.Context, injectable: T) => T) | null;
|
||
|
constructor(serviceIdentifier: interfaces.ServiceIdentifier<T>, scope: interfaces.BindingScope);
|
||
|
clone(): interfaces.Binding<T>;
|
||
|
}
|
||
|
export { Binding };
|