Show / Hide Table of Contents

Class ServerTimingHeaderValue

Represents value of Server-Timing header.

Inheritance
System.Object
ServerTimingHeaderValue
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)
Namespace: Lib.ServerTiming.Http.Headers
Assembly: Lib.ServerTiming.Abstractions.dll
Syntax
public class ServerTimingHeaderValue

Constructors

ServerTimingHeaderValue()

Instantiates a new ServerTimingHeaderValue.

Declaration
public ServerTimingHeaderValue()

ServerTimingHeaderValue(ServerTimingMetric[])

Instantiates a new ServerTimingHeaderValue.

Declaration
public ServerTimingHeaderValue(params ServerTimingMetric[] metrics)
Parameters
Type Name Description
ServerTimingMetric[] metrics

The metrics.

ServerTimingHeaderValue(ICollection<ServerTimingMetric>)

Instantiates a new ServerTimingHeaderValue.

Declaration
public ServerTimingHeaderValue(ICollection<ServerTimingMetric> metrics)
Parameters
Type Name Description
System.Collections.Generic.ICollection<ServerTimingMetric> metrics

The collection of metrics.

Properties

Metrics

Gets the collection of metrics.

Declaration
public ICollection<ServerTimingMetric> Metrics { get; }
Property Value
Type Description
System.Collections.Generic.ICollection<ServerTimingMetric>

Methods

ToString()

Gets the string representation of header value.

Declaration
public override string ToString()
Returns
Type Description
System.String

The string representation of header value.

Overrides
System.Object.ToString()
Back to top Copyright © 2017 - 2023 Tomasz Pęczek