IInversifyContainerFacade.d.ts 551 B

1234567891011121314151617181920212223
  1. import { interfaces } from 'inversify';
  2. import { TInputOptions } from '../../types/options/TInputOptions';
  3. export interface IInversifyContainerFacade {
  4. /**
  5. * @param serviceIdentifier
  6. */
  7. get <T> (serviceIdentifier: interfaces.ServiceIdentifier<T>): T;
  8. /**
  9. * @param serviceIdentifier
  10. * @param named
  11. */
  12. getNamed <T> (serviceIdentifier: interfaces.ServiceIdentifier<T>, named: string | number | symbol): T;
  13. /**
  14. * @param options
  15. */
  16. load (options: TInputOptions): void;
  17. unload (): void;
  18. }