Table of Contents

Class CompositeResolver

Namespace
BenchmarkDotNet.Characteristics
Assembly
BenchmarkDotNet.dll
public class CompositeResolver : IResolver
Inheritance
CompositeResolver
Implements

Constructors

CompositeResolver(params IResolver[])

public CompositeResolver(params IResolver[] resolvers)

Parameters

resolvers IResolver[]

Methods

CanResolve(Characteristic)

public bool CanResolve(Characteristic characteristic)

Parameters

characteristic Characteristic

Returns

bool

Resolve(CharacteristicObject, Characteristic)

public object Resolve(CharacteristicObject obj, Characteristic characteristic)

Parameters

obj CharacteristicObject
characteristic Characteristic

Returns

object

Resolve(CharacteristicObject, Characteristic, object)

public object Resolve(CharacteristicObject obj, Characteristic characteristic, object defaultValue)

Parameters

obj CharacteristicObject
characteristic Characteristic
defaultValue object

Returns

object

Resolve<T>(CharacteristicObject, Characteristic<T>)

public T Resolve<T>(CharacteristicObject obj, Characteristic<T> characteristic)

Parameters

obj CharacteristicObject
characteristic Characteristic<T>

Returns

T

Type Parameters

T

Resolve<T>(CharacteristicObject, Characteristic<T>, T)

public T Resolve<T>(CharacteristicObject obj, Characteristic<T> characteristic, T defaultValue)

Parameters

obj CharacteristicObject
characteristic Characteristic<T>
defaultValue T

Returns

T

Type Parameters

T