Class AttributeContainerExtensions
Provides a layer of simplicity and backwards compatibility for manipulating attributes on Values
public static class AttributeContainerExtensions
- Inheritance
-
AttributeContainerExtensions
- Inherited Members
Methods
- AddAttribute<T>(T, FunctionAttributeIndex, LazyEncodedString)
Adds a single AttributeValue to an IFunctionAttributeAccessor
- AddAttribute<T>(T, FunctionAttributeIndex, AttributeValue)
Adds a single AttributeValue to an IFunctionAttributeAccessor
- AddAttributes(IAttributeContainer, params IEnumerable<LazyEncodedString>?)
Add a range of attributes to an attribute container
- AddAttributes(IAttributeContainer, params IEnumerable<AttributeValue>?)
Add a range of attributes to an attribute container
- AddAttributes<T>(T, FunctionAttributeIndex, params IEnumerable<LazyEncodedString>?)
Adds AttributeValues to an IFunctionAttributeAccessor
- AddAttributes<T>(T, FunctionAttributeIndex, params IEnumerable<AttributeValue>)
Adds AttributeValues to an IFunctionAttributeAccessor
- AddRange<T>(ICollection<T>, params IEnumerable<T>?)
Adds a range of values to a collection
- Contains(ICollection<AttributeValue>, uint)
Determines if a collection of AttributeValue contains a given uint
- FindAttribute<T>(T, FunctionAttributeIndex, LazyEncodedString)
Finds an AttributeValue by index and name
- RemoveAttribute<T>(T, FunctionAttributeIndex, uint)
Removes an uint from an IFunctionAttributeAccessor
- RemoveAttribute<T>(T, FunctionAttributeIndex, LazyEncodedString)
Removes a named attribute from an IFunctionAttributeAccessor