badman-core
Version:
badman-core is the layer what all the badman packages depended,or can be used as a tool kit.
15 lines (14 loc) • 507 B
TypeScript
import BeanObject from "./BeanObject";
export default class Beans {
private static readonly beanObjectMap;
private static logger;
static LoadBeans(...beans: BeanObject<any>[]): void;
private static instance;
private static di;
static LoadBean<T>(beanObject: BeanObject<T>): T;
static Instance<T>(beanName: string): T;
static UnloadBeans(): void;
static UnloadBean(beanName: string): void;
private static Unload;
static getBeans(): Map<string, BeanObject<any>>;
}