 | ExtensiblePropertyDescriptorTGetValueFrom Method (IExtensiblePropertyContainer, FuncT) |
[This is preliminary documentation and is subject to change.]
Gets a value for the property from the container
Namespace:
Llvm.NET
Assembly:
Llvm.NET (in Llvm.NET.dll) Version: 3.8.6158
Syntaxpublic T GetValueFrom(
IExtensiblePropertyContainer container,
Func<T> lazyDefaultFactory
)
Parameters
- container
- Type: Llvm.NETIExtensiblePropertyContainer
container - lazyDefaultFactory
- Type: SystemFuncT
default value factory delegate to create the default value if the value is not yet present as an extended property
Return Value
Type:
TValue retrieved from the property or default value created by
lazyDefaultFactory if it wasn't found
RemarksIf the value didn't exist a new value created by calling with lazyDefaultFactory is added to the container
See Also