Interface ICustomAttributes<TKey, TValue>
Contains methods and properties which allow to work with attributes.
public interface ICustomAttributes<TKey, TValue> : IReadOnlyAttributes<TKey, TValue>
Type Parameters
TKey
Type of the attribute identifier.
TValue
Type of the attribute value.
Properties
Methods
- RemoveAttribute(TKey)
Removes attribute with
id
.
- SetAttribute(TKey, TValue?)
Sets attribute value.
- SetAttribute<T2>(TKey, T2)
Sets attribute value.