Click or drag to resize

PropertyBagLazyLoadedGetValueT(PropertyKeyT, T) Method

Gets the value for the specified property key.

Namespace: Altaxo.Main.Properties
Assembly: AltaxoBase (in AltaxoBase.dll) Version: 4.8.3572.0 (4.8.3572.0)
Syntax
C#
public override T GetValue<T>(
	PropertyKey<T> p,
	T defaultValue
)

Parameters

p  PropertyKeyT
The property key.
defaultValue  T
The default value returned when the key is not found.

Type Parameters

T
The value type.

Return Value

T
The stored value, or defaultValue if the key is not present.

Implements

IReadOnlyPropertyBagGetValueT(PropertyKeyT, T)
See Also