Table of Contents

Class Consumer

Namespace
BenchmarkDotNet.Engines
Assembly
BenchmarkDotNet.dll
public class Consumer
Inheritance
Consumer

Constructors

Consumer()

public Consumer()

Methods

Consume(bool)

public void Consume(bool boolValue)

Parameters

boolValue bool

Consume(byte)

public void Consume(byte byteValue)

Parameters

byteValue byte

Consume(char)

public void Consume(char charValue)

Parameters

charValue char

Consume(double)

public void Consume(double doubleValue)

Parameters

doubleValue double

Consume(short)

public void Consume(short shortValue)

Parameters

shortValue short

Consume(int)

public void Consume(int intValue)

Parameters

intValue int

Consume(long)

public void Consume(long longValue)

Parameters

longValue long

Consume(nint)

public void Consume(nint intPtrValue)

Parameters

intPtrValue nint

Consume(object)

public void Consume(object objectValue)

Parameters

objectValue object

Consume(sbyte)

[CLSCompliant(false)]
public void Consume(sbyte sbyteValue)

Parameters

sbyteValue sbyte

Consume(float)

public void Consume(float floatValue)

Parameters

floatValue float

Consume(string)

public void Consume(string stringValue)

Parameters

stringValue string

Consume(ushort)

[CLSCompliant(false)]
public void Consume(ushort ushortValue)

Parameters

ushortValue ushort

Consume(uint)

[CLSCompliant(false)]
public void Consume(uint uintValue)

Parameters

uintValue uint

Consume(ulong)

[CLSCompliant(false)]
public void Consume(ulong ulongValue)

Parameters

ulongValue ulong

Consume(nuint)

public void Consume(nuint uintPtrValue)

Parameters

uintPtrValue nuint

Consume(void*)

public void Consume(void* ptrValue)

Parameters

ptrValue void*

Consume<T>(T)

public void Consume<T>(T objectValue) where T : class

Parameters

objectValue T

Type Parameters

T

Consume<T>(T*)

public void Consume<T>(T* ptrValue) where T : unmanaged

Parameters

ptrValue T*

Type Parameters

T

Consume<T>(in T)

public void Consume<T>(in T value)

Parameters

value T

Type Parameters

T