|
SettingsBaseGetAttributeValueTAttribute, TValue Method
|
Attempts to find specified attribute and return specified value.
Namespace: GSF.ConfigurationAssembly: GSF.Core (in GSF.Core.dll) Version: 2.4.218-beta+101eee949414e414795e55a6e73d88938f0177b8
Syntax JavaScript does not support generic types or methods.
View SourceParameters
- name String
- Name of field or property to search for attribute.
- defaultValue TValue
- Default value to return if attribute doesn't exist.
- attributeValue FuncTAttribute, TValue
- Function delegate used to return desired attribute property.
Type Parameters
- TAttribute
- Type of Attribute to find.
- TValue
- Type of value attribute delegate returns.
Return Value
TValueSpecified attribute value if it exists; otherwise default value.
See Also