typeStore.ts 359 B

12345678910111213
  1. /** @hidden */
  2. export class _TypeStore {
  3. /** @hidden */
  4. public static RegisteredTypes: { [key: string]: Object } = { };
  5. /** @hidden */
  6. public static GetClass(fqdn: string): any {
  7. if (this.RegisteredTypes && this.RegisteredTypes[fqdn]) {
  8. return this.RegisteredTypes[fqdn];
  9. }
  10. return null;
  11. }
  12. }