##// 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:

r135:03e32ec7c20b ioc ts support
r142:be7edf08a115 v1.4.0-rc3 default
Show More
traits.ts
11 lines | 371 B | video/mp2t | TypeScriptLexer
cin
configuration interfaces moved to di/Configuration module...
r118 import { isPrimitive } from "../safe";
import { Descriptor } from "./interfaces";
cin
Completely removed IoC annotations...
r135 import { FluentConfiguration } from "./fluent/FluentConfiguration";
cin
configuration interfaces moved to di/Configuration module...
r118 export function isDescriptor(x: any): x is Descriptor {
return (!isPrimitive(x)) &&
(x.activate instanceof Function);
cin
working on fluent configuration
r132 }
cin
Completely removed IoC annotations...
r135 export function fluent<S extends object>() {
return new FluentConfiguration<S>();
cin
working on fluent configuration
r132 }