Show / Hide Table of Contents

Class JsonExporter

Inheritance
Object
ExporterBase
JsonExporterBase
JsonExporter
Implements
IExporter
Inherited Members
JsonExporterBase.FileExtension
JsonExporterBase.ExportToLog(Summary, ILogger)
ExporterBase.Name
ExporterBase.FileCaption
ExporterBase.ExportToFiles(Summary, ILogger)
Namespace: BenchmarkDotNet.Exporters.Json
Assembly: BenchmarkDotNet.dll
Syntax
public class JsonExporter : JsonExporterBase, IExporter

Constructors

JsonExporter(String, Boolean, Boolean)

Declaration
public JsonExporter(string fileNameSuffix = "", bool indentJson = false, bool excludeMeasurements = false)
Parameters
Type Name Description
String fileNameSuffix
Boolean indentJson
Boolean excludeMeasurements

Fields

Brief

Declaration
public static readonly IExporter Brief
Field Value
Type Description
IExporter

BriefCompressed

Declaration
public static readonly IExporter BriefCompressed
Field Value
Type Description
IExporter

Default

Declaration
public static readonly IExporter Default
Field Value
Type Description
IExporter

Full

Declaration
public static readonly IExporter Full
Field Value
Type Description
IExporter

FullCompressed

Declaration
public static readonly IExporter FullCompressed
Field Value
Type Description
IExporter

Properties

FileNameSuffix

Declaration
protected override string FileNameSuffix { get; }
Property Value
Type Description
String
Overrides
ExporterBase.FileNameSuffix

Methods

Custom(String, Boolean, Boolean)

Declaration
public static IExporter Custom(string fileNameSuffix = "", bool indentJson = false, bool excludeMeasurements = false)
Parameters
Type Name Description
String fileNameSuffix
Boolean indentJson
Boolean excludeMeasurements
Returns
Type Description
IExporter

Implements

IExporter
In This Article
Back to top Copyright © 2013–2021 .NET Foundation and contributors