Home > typeioc > IRegistration > as
Sets registration to be marked as factory registration
Signature:
as(factory: Factory<T>): IRegisterWithAs<T>;
| Parameter | Type | Description | 
|---|---|---|
| factory | Factory<T> | 
      an instance of Factory interface | 
Returns:
IRegisterWithAs<T>
Registration is provided as a factory method