##// END OF EJS Templates
working on IoC configuration
working on IoC configuration

File last commit:

r113:22cf333c0b34 ioc ts support
r114:475b8ce3e850 ioc ts support
Show More
ValueDescriptor.ts
17 lines | 306 B | video/mp2t | TypeScriptLexer
/ src / main / ts / di / ValueDescriptor.ts
cin
changed the project structure
r49 import { Descriptor } from "./interfaces";
cin
working on IoC configuration
r113 export class ValueDescriptor<T> implements Descriptor<T> {
_value: T;
cin
changed the project structure
r49
cin
working on IoC configuration
r113 constructor(value: T) {
cin
changed the project structure
r49 this._value = value;
}
activate() {
return this._value;
}
toString() {
return `@type=${typeof this._value}`;
}
}