Method FindAttribute
FindAttribute<T>(T, FunctionAttributeIndex, LazyEncodedString)
Finds an AttributeValue by index and name
public static AttributeValue? FindAttribute<T>(this T self, FunctionAttributeIndex index, LazyEncodedString name) where T : notnull, IFunctionAttributeAccessor
Parameters
self
TAccessor to find the attribute on
index
FunctionAttributeIndexIndex of the attribute
name
LazyEncodedStringName of the attribute
Returns
- AttributeValue?
AttributeValue or null if not found.
Type Parameters
T
Type of the accessor