public static async ValueTask <NuGetSolutionManagerService> CreateAsync( ServiceActivationOptions options, IServiceBroker sb, AuthorizationServiceClient ac, CancellationToken cancellationToken) { Assumes.NotNull(sb); Assumes.NotNull(ac); cancellationToken.ThrowIfCancellationRequested(); IComponentModel componentModel = await ServiceLocator.GetGlobalServiceFreeThreadedAsync <SComponentModel, IComponentModel>(); Assumes.NotNull(componentModel); return(new NuGetSolutionManagerService(options, sb, ac, componentModel)); }