Method RemoveAttribute
RemoveAttribute<T>(T, FunctionAttributeIndex, uint)
Removes an uint from an IFunctionAttributeAccessor
public static T RemoveAttribute<T>(this T self, FunctionAttributeIndex index, uint id) where T : notnull, IFunctionAttributeAccessor
Parameters
self
TContainer to remove the attribute from
index
FunctionAttributeIndexFunctionAttributeIndex to remove the attribute from
id
uintAttribute to remove from the container
Returns
- T
self
for fluent use
Type Parameters
T
Container type
RemoveAttribute<T>(T, FunctionAttributeIndex, LazyEncodedString)
Removes a named attribute from an IFunctionAttributeAccessor
public static T RemoveAttribute<T>(this T self, FunctionAttributeIndex index, LazyEncodedString name) where T : notnull, IFunctionAttributeAccessor
Parameters
self
TContainer to remove the attribute from
index
FunctionAttributeIndexFunctionAttributeIndex to remove the attribute from
name
LazyEncodedStringAttribute name to remove from the container
Returns
- T
self
for fluent use
Type Parameters
T
Container type