Show / Hide Table of Contents

Class ServerTimingServiceCollectionExtensions

The Microsoft.Extensions.DependencyInjection.IServiceCollection extensions for adding Server Timing API related services.

Inheritance
System.Object
ServerTimingServiceCollectionExtensions
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: Microsoft.AspNetCore.Builder
Assembly: Lib.AspNetCore.ServerTiming.dll
Syntax
public static class ServerTimingServiceCollectionExtensions

Methods

AddServerTiming(IServiceCollection)

Registers default service which provides support for Server Timing API.

Declaration
public static IServiceCollection AddServerTiming(this IServiceCollection services)
Parameters
Type Name Description
Microsoft.Extensions.DependencyInjection.IServiceCollection services

The collection of service descriptors.

Returns
Type Description
Microsoft.Extensions.DependencyInjection.IServiceCollection

The collection of service descriptors.

Back to top Copyright © 2017 - 2023 Tomasz Pęczek