##// END OF EJS Templates
added provided and configure methods to the fluent container configuration, added applyConfig method to the container
added provided and configure methods to the fluent container configuration, added applyConfig method to the container

File last commit:

r115:691199f665e0 ioc ts support
r142:be7edf08a115 v1.4.0-rc3 default
Show More
ValueDescriptor.ts
17 lines | 311 B | video/mp2t | TypeScriptLexer
/ src / main / ts / di / ValueDescriptor.ts
cin
changed the project structure
r49 import { Descriptor } from "./interfaces";
cin
corrected code to support ts strict mode...
r115 export class ValueDescriptor<T> implements Descriptor<any, T> {
cin
working on IoC configuration
r113 _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}`;
}
}