AddDbContext method for DI

Can we be sure that an ITypeActivator service is available? How does it get added?