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
Resolve(CharacteristicObject, Characteristic)
public object Resolve(CharacteristicObject obj, Characteristic characteristic)
Parameters
obj
CharacteristicObjectcharacteristic
Characteristic
Returns
Resolve(CharacteristicObject, Characteristic, object)
public object Resolve(CharacteristicObject obj, Characteristic characteristic, object defaultValue)
Parameters
obj
CharacteristicObjectcharacteristic
CharacteristicdefaultValue
object
Returns
Resolve<T>(CharacteristicObject, Characteristic<T>)
public T Resolve<T>(CharacteristicObject obj, Characteristic<T> characteristic)
Parameters
obj
CharacteristicObjectcharacteristic
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
CharacteristicObjectcharacteristic
Characteristic<T>defaultValue
T
Returns
- T
Type Parameters
T