Click or drag to resize

PropertyServiceFallbackImplementationGetValueT(PropertyKeyT, RuntimePropertyKind, FuncT) Method

Gets the property value from UserSettings, then ApplicationSettings, then BuiltinSettings.

Namespace: Altaxo.Main.Services
Assembly: AltaxoBase (in AltaxoBase.dll) Version: 4.8.3572.0 (4.8.3572.0)
Syntax
C#
public T GetValue<T>(
	PropertyKey<T> p,
	RuntimePropertyKind kind,
	Func<T>? ValueCreationIfNotFound
)

Parameters

p  PropertyKeyT
The property key.
kind  RuntimePropertyKind
Kind of search.
ValueCreationIfNotFound  FuncT
Function used to create a default value if the property value was not found.

Type Parameters

T
Type of the property value.

Return Value

T
The property value, or a value created by ValueCreationIfNotFound if none was found.

Implements

IPropertyServiceGetValueT(PropertyKeyT, RuntimePropertyKind, FuncT)
See Also