TimeZoneServiceExtensions Class
Extension methods for adding timezone services to the dependency injection container.
public static class TimeZoneServiceExtensionsMethods
| Name | Description |
|---|---|
| AddTimeZoneServices(IServiceCollection) | Adds the TimeZoneService to the service collection. |
AddTimeZoneServices(IServiceCollection)
TimeZoneServiceExtensions.csAdds the TimeZoneService to the service collection.
public static IServiceCollection AddTimeZoneServices(this IServiceCollection services)Parameters
servicesIServiceCollection- The service collection to add the service to.
Returns
IServiceCollection The service collection for method chaining.