namespace armExplorer { export class ResourceHandlerResolver implements IResourceHandlerResolver { constructor ( private resolver ) { ScriptInternals . init ( ) ; } public getResourceHandler ( resType ) { const resourceClassName = ScriptInternals . getClassName ( resType ) ; return new window [ "armExplorer" ] [ resourceClassName ] ( this . resolver ) ; } } }