##// END OF EJS Templates
tests, refactoring, fixes
tests, refactoring, fixes

File last commit:

r39:ed82314aa5c8 di-typescript
r40:6559c5b81a19 di-typescript
Show More
AggregateDescriptor.ts
24 lines | 579 B | video/mp2t | TypeScriptLexer
/ src / ts / di / AggregateDescriptor.ts
cin
ported IoC container to typescript...
r34 import { Descriptor } from "./interfaces";
import { ActivationContext } from "./ActivationContext";
cin
ts code cleanup, linting
r39 export class AggregateDescriptor implements Descriptor {
_value: object;
cin
ported IoC container to typescript...
r34
cin
ts code cleanup, linting
r39 constructor(value: object) {
this._value = value;
cin
ported IoC container to typescript...
r34 }
activate(context: ActivationContext, name: string) {
context.enter(name);
cin
working on IoC container
r38 const v = context.parse(this._value, ".params");
cin
ported IoC container to typescript...
r34 context.leave();
return v;
}
isInstanceCreated(): boolean {
return false;
}
cin
ts code cleanup, linting
r39 getInstance(): any {
throw new Error("Not supported");
cin
ported IoC container to typescript...
r34 }
}