ServiceWorkerExtensionsAddServiceWorkers Method

Adds the IServiceWorkerContainer to the service collection.

Definition

Namespace: Gemstone.Web.Razor.ServiceWorkers
Assembly: Gemstone.Web.Razor (in Gemstone.Web.Razor.dll) Version: 1.0.171 -- Release Build+f97a6efcf348dbb2ce14e0dc455918e455771b06
public static void AddServiceWorkers(
	this IServiceCollection services
)

Parameters

services  IServiceCollection
The service collection.

Usage Note

In Visual Basic and C#, you can call this method as an instance method on any object of type IServiceCollection. When you use instance method syntax to call this method, omit the first parameter. For more information, see Extension Methods (Visual Basic) or Extension Methods (C# Programming Guide).

See Also