entity-logic-base.ts 417 字节
Newer Older
neko's avatar
neko committed
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21
/**
 * 实体逻辑处理基类
 *
 * @export
 * @class EntityLogicBase
 */
export class EntityLogicBase {

    /**
     * 获取其他实体服务
     *
     * @protected
     * @param {string} name 实体名称
     * @returns {Promise<any>}
     * @memberof EntityLogicBase
     */
    protected getService(name: string): Promise<any> {
        return window.appEntityServiceConstructor.getService(name);
    }

}