ajsfw
Version:
Ajs Framework
34 lines (33 loc) • 1.67 kB
TypeScript
import * as resources from "ajsfw/resources";
import * as navigation from "ajsfw/navigation";
import * as routing from "ajsfw/routing";
import * as di from "ajsfw/di";
import * as templating from "ajsfw/templating";
import * as mvvm from "ajsfw/mvvm";
import { Exception } from "ajsfw/exceptions";
import { LoadingPreference } from "ajsfw/resources";
import { IApplication } from "./IApplication";
import { IResourceLists } from "./IResourceLists";
export declare class Application<T> implements IApplication {
private __container;
private __resourceManager;
private __templateManager;
private __navigator;
private __router;
private __viewComponentManager;
private __resources;
private __templates;
protected _resourcesLoadingPreference: LoadingPreference;
private __config;
protected readonly _config: T;
constructor(container: di.IContainer, resourceManager: resources.IResourceManager, templateManager: templating.ITemplateManager, navigator: navigation.INavigator, router: routing.IRouter, viewComponentManager: mvvm.IViewComponentManager, config: T);
initialize(): Promise<any>;
run(): Promise<void>;
protected _onError(e: ErrorEvent | Exception): void;
protected _onConfigure(container: di.IContainer, resources: IResourceLists, templates: IResourceLists, redirections: navigation.IRedirection[], routes: routing.IRoutes[], viewComponentManager: mvvm.IViewComponentManager): void;
protected _onInitialize(): Promise<any>;
protected _onFinalize(e: Event): void | "\o/";
private __finalize(e);
private __loadresources();
private __loadTemplates();
}