To make that class available through the IServiceCollection provided by ASP.NET Core, I would add that class to the collection of available service objects in the Startup class' ConfigureServices ...
Central to ASP.NET Core is the collection of objects that give you access to ASP.NET Core functionality. Here's how to access it, how to add to it, and an example of how to use this technology with ...