UNPKG

ng2-appinsights

Version:
49 lines (48 loc) 2.6 kB
/** * @fileoverview This file is generated by the Angular 2 template compiler. * Do not edit. * @suppress {suspiciousCode,uselessCode,missingProperties} */ /* tslint:disable */ import * as import0 from '@angular/core/src/linker/ng_module_factory'; import * as import1 from '../../../src/appinsights/appinsights.module'; import * as import2 from '../../../src/lib/appinsightslibrary.service'; import * as import3 from '../../../src/appinsights/appinsights.service'; import * as import4 from '../../../src/appinsights/errorhandler'; import * as import5 from '@angular/core/src/di/injector'; import * as import6 from '@angular/core/src/error_handler'; class AppInsightsModuleInjector extends import0.NgModuleInjector<import1.AppInsightsModule> { _AppInsightsModule_0:import1.AppInsightsModule; __AppInsightsLibraryService_1:import2.AppInsightsLibraryService; __AppInsightsService_2:import3.AppInsightsService; __ErrorHandler_3:import4.AppInsightsErrorHandler; constructor(parent:import5.Injector) { super(parent,([] as any[]),([] as any[])); } get _AppInsightsLibraryService_1():import2.AppInsightsLibraryService { if ((this.__AppInsightsLibraryService_1 == null)) { (this.__AppInsightsLibraryService_1 = new import2.AppInsightsLibraryService()); } return this.__AppInsightsLibraryService_1; } get _AppInsightsService_2():import3.AppInsightsService { if ((this.__AppInsightsService_2 == null)) { (this.__AppInsightsService_2 = new import3.AppInsightsService(this._AppInsightsLibraryService_1)); } return this.__AppInsightsService_2; } get _ErrorHandler_3():import4.AppInsightsErrorHandler { if ((this.__ErrorHandler_3 == null)) { (this.__ErrorHandler_3 = new import4.AppInsightsErrorHandler(this._AppInsightsService_2)); } return this.__ErrorHandler_3; } createInternal():import1.AppInsightsModule { this._AppInsightsModule_0 = new import1.AppInsightsModule(); return this._AppInsightsModule_0; } getInternal(token:any,notFoundResult:any):any { if ((token === import1.AppInsightsModule)) { return this._AppInsightsModule_0; } if ((token === import2.AppInsightsLibraryService)) { return this._AppInsightsLibraryService_1; } if ((token === import3.AppInsightsService)) { return this._AppInsightsService_2; } if ((token === import6.ErrorHandler)) { return this._ErrorHandler_3; } return notFoundResult; } destroyInternal():void { } } export const AppInsightsModuleNgFactory:import0.NgModuleFactory<import1.AppInsightsModule> = new import0.NgModuleFactory(AppInsightsModuleInjector,import1.AppInsightsModule);