Table of Contents

Class InfrastructureMode

Namespace
BenchmarkDotNet.Jobs
Assembly
BenchmarkDotNet.dll
public sealed class InfrastructureMode : JobMode<InfrastructureMode>
Inheritance
InfrastructureMode
Inherited Members
Extension Methods

Constructors

InfrastructureMode()

public InfrastructureMode()

Fields

ArgumentsCharacteristic

public static readonly Characteristic<IReadOnlyList<Argument>> ArgumentsCharacteristic

Field Value

Characteristic<IReadOnlyList<Argument>>

BuildConfigurationCharacteristic

public static readonly Characteristic<string> BuildConfigurationCharacteristic

Field Value

Characteristic<string>

ClockCharacteristic

public static readonly Characteristic<IClock> ClockCharacteristic

Field Value

Characteristic<IClock>

EngineFactoryCharacteristic

public static readonly Characteristic<IEngineFactory> EngineFactoryCharacteristic

Field Value

Characteristic<IEngineFactory>

InProcess

public static readonly InfrastructureMode InProcess

Field Value

InfrastructureMode

InProcessDontLogOutput

public static readonly InfrastructureMode InProcessDontLogOutput

Field Value

InfrastructureMode

NuGetReferencesCharacteristic

public static readonly Characteristic<IReadOnlyCollection<NuGetReference>> NuGetReferencesCharacteristic

Field Value

Characteristic<IReadOnlyCollection<NuGetReference>>

ReleaseConfigurationName

public const string ReleaseConfigurationName = "Release"

Field Value

string

ToolchainCharacteristic

public static readonly Characteristic<IToolchain> ToolchainCharacteristic

Field Value

Characteristic<IToolchain>

Properties

Arguments

public IReadOnlyList<Argument> Arguments { get; set; }

Property Value

IReadOnlyList<Argument>

BuildConfiguration

public string BuildConfiguration { get; set; }

Property Value

string

Clock

public IClock Clock { get; set; }

Property Value

IClock

EngineFactory

this type will be used in the auto-generated program to create engine in separate process it must have parameterless constructor

public IEngineFactory EngineFactory { get; set; }

Property Value

IEngineFactory

NuGetReferences

public IReadOnlyCollection<NuGetReference> NuGetReferences { get; set; }

Property Value

IReadOnlyCollection<NuGetReference>

Toolchain

public IToolchain Toolchain { get; set; }

Property Value

IToolchain

Methods

TryGetToolchain(out IToolchain)

public bool TryGetToolchain(out IToolchain toolchain)

Parameters

toolchain IToolchain

Returns

bool