Class CharacteristicObject<T>
- Namespace
- BenchmarkDotNet.Characteristics
- Assembly
- BenchmarkDotNet.dll
public abstract class CharacteristicObject<T> : CharacteristicObject where T : CharacteristicObject<T>, new()
Type Parameters
T
- Inheritance
-
CharacteristicObject<T>
- Derived
- Inherited Members
- Extension Methods
Constructors
CharacteristicObject()
protected CharacteristicObject()
CharacteristicObject(string?)
protected CharacteristicObject(string? id)
Parameters
id
string
Methods
Apply(CharacteristicObject)
public T Apply(CharacteristicObject other)
Parameters
other
CharacteristicObject
Returns
- T
Apply(params CharacteristicObject[])
public T Apply(params CharacteristicObject[] others)
Parameters
others
CharacteristicObject[]
Returns
- T
ApplyAndFreeze(CharacteristicObject)
public T ApplyAndFreeze(CharacteristicObject other)
Parameters
other
CharacteristicObject
Returns
- T
ApplyAndFreeze(params CharacteristicObject[])
public T ApplyAndFreeze(params CharacteristicObject[] others)
Parameters
others
CharacteristicObject[]
Returns
- T
CreateCharacteristic<TC>(string)
protected static Characteristic<TC> CreateCharacteristic<TC>(string memberName)
Parameters
memberName
string
Returns
- Characteristic<TC>
Type Parameters
TC
CreateHiddenCharacteristic<TC>(string)
protected static Characteristic<TC> CreateHiddenCharacteristic<TC>(string memberName)
Parameters
memberName
string
Returns
- Characteristic<TC>
Type Parameters
TC
CreateIgnoreOnApplyCharacteristic<TC>(string)
protected static Characteristic<TC> CreateIgnoreOnApplyCharacteristic<TC>(string memberName)
Parameters
memberName
string
Returns
- Characteristic<TC>
Type Parameters
TC
Freeze()
public T Freeze()
Returns
- T
UnfreezeCopy()
public T UnfreezeCopy()
Returns
- T