IPropertyServiceGetValueT(PropertyKeyT, RuntimePropertyKind, FuncT) Method |
Gets the property value from UserSettings, then ApplicationSettings, then BuiltinSettings.
Namespace: Altaxo.Main.ServicesAssembly: AltaxoBase (in AltaxoBase.dll) Version: 4.8.3572.0 (4.8.3572.0)
SyntaxT 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
TThe property value, or a value created by
ValueCreationIfNotFound if none was found.
See Also