Interface IResolver
- Namespace
- BenchmarkDotNet.Characteristics
- Assembly
- BenchmarkDotNet.dll
An entity which can resolve default values of Characteristic<T>.
public interface IResolver
Methods
CanResolve(Characteristic)
bool CanResolve(Characteristic characteristic)
Parameters
characteristic
Characteristic- An entity which can resolve default values of .
Returns
- bool
- An entity which can resolve default values of .
Resolve(CharacteristicObject, Characteristic)
object Resolve(CharacteristicObject obj, Characteristic characteristic)
Parameters
obj
CharacteristicObject- An entity which can resolve default values of .
characteristic
Characteristic- An entity which can resolve default values of .
Returns
- object
- An entity which can resolve default values of .
Resolve(CharacteristicObject, Characteristic, object)
object Resolve(CharacteristicObject obj, Characteristic characteristic, object defaultValue)
Parameters
obj
CharacteristicObject- An entity which can resolve default values of .
characteristic
Characteristic- An entity which can resolve default values of .
defaultValue
object- An entity which can resolve default values of .
Returns
- object
- An entity which can resolve default values of .
Resolve<T>(CharacteristicObject, Characteristic<T>)
T Resolve<T>(CharacteristicObject obj, Characteristic<T> characteristic)
Parameters
obj
CharacteristicObject- An entity which can resolve default values of .
characteristic
Characteristic<T>- An entity which can resolve default values of .
Returns
- T
- An entity which can resolve default values of .
Type Parameters
T
- An entity which can resolve default values of .
Resolve<T>(CharacteristicObject, Characteristic<T>, T)
T Resolve<T>(CharacteristicObject obj, Characteristic<T> characteristic, T defaultValue)
Parameters
obj
CharacteristicObject- An entity which can resolve default values of .
characteristic
Characteristic<T>- An entity which can resolve default values of .
defaultValue
T- An entity which can resolve default values of .
Returns
- T
- An entity which can resolve default values of .
Type Parameters
T
- An entity which can resolve default values of .