public CCFCollection(IServiceCollection services, ILoggerFactory factory, CCFServicesManager.Params @params) { ccfManager = new CCFServicesManager(factory, @params); this.services = services; }
public static CCFCollection AddCCF(this IServiceCollection services, CCFServicesManager.Params @params = null) { @params = @params ?? CCFServicesManager.Params.Default; return(new CCFCollection(services, services.BuildServiceProvider().GetService <ILoggerFactory>(), @params)); }