Properties
Static Private filterClasses
filterClasses: any
Static Private loadFileClasses
loadFileClasses: any
Methods
Static getClassName
- getClassName(klass: string | Function): string
-
Parameters
Returns string
Static getFunction
- getFunction(klass: string | Function): Function
-
Parameters
Returns Function
Static getSource
- getSource(cls: Function): string
-
Parameters
Returns string
Static importClassesFromAny
-
Parameters
Returns Function[]
Static importClassesFromAnyAsync
-
Parameters
Returns Promise<Function[]>
Static importClassesFromDirectories
- importClassesFromDirectories(directories: string[], formats?: string[]): Function[]
-
Parameters
-
directories: string[]
-
Optional formats: string[]
Returns Function[]
Static importClassesFromDirectoriesAsync
- importClassesFromDirectoriesAsync(directories: string[], formats?: string[]): Promise<Function[]>
-
Parameters
-
directories: string[]
-
Optional formats: string[]
Returns Promise<Function[]>
Static importJsonsFromDirectories
- importJsonsFromDirectories(directories: string[], format?: string): any[]
-
Parameters
-
directories: string[]
-
Optional format: string
Returns any[]
Static importJsonsFromDirectoriesAsync
- importJsonsFromDirectoriesAsync(directories: string[], format?: string): Promise<any[]>
-
Parameters
-
directories: string[]
-
Optional format: string
Returns Promise<any[]>
Loads all exported classes from the given directory.