App Metrics Fork me on GitHub
Show / Hide Table of Contents

Class JsonEnvironmentInfoResponseWriter

Inheritance
System.Object
JsonEnvironmentInfoResponseWriter
Namespace:App.Metrics.Formatters.Json
Assembly:cs.temp.dll.dll
Syntax
public class JsonEnvironmentInfoResponseWriter : IEnvironmentInfoResponseWriter

Constructors

JsonEnvironmentInfoResponseWriter(IEnvironmentInfoSerializer)

Declaration
public JsonEnvironmentInfoResponseWriter(IEnvironmentInfoSerializer serializer)
Parameters
Type Name Description
IEnvironmentInfoSerializer serializer

Properties

ContentType

Declaration
public string ContentType { get; }
Property Value
Type Description
System.String

Methods

WriteAsync(HttpContext, EnvironmentInfo, CancellationToken)

Declaration
public Task WriteAsync(HttpContext context, EnvironmentInfo environmentInfo, CancellationToken token = null)
Parameters
Type Name Description
HttpContext context
EnvironmentInfo environmentInfo
CancellationToken token
Returns
Type Description
Task
Back to top Copyright © 2017 Allan Hardy
Generated by DocFX