Class StructuredTypeAttributesCollection
Denotes a class to implement the Attributes reference
public class StructuredTypeAttributesCollection : ObservableOppositeList<IStructuredType, IAttribute>, IReadOnlyList<IAttribute>, IReadOnlyCollection<IAttribute>, IList, ICollection, INotifyCollectionChanging, INotifyPropertyChanged, INotifyCollectionChanged, IListExpression<IAttribute>, IList<IAttribute>, ICollectionExpression<IAttribute>, IEnumerableExpression<IAttribute>, IEnumerableExpression, ICollection<IAttribute>, IEnumerable<IAttribute>, IEnumerable
- Inheritance
-
StructuredTypeAttributesCollection
- Implements
- Inherited Members
Constructors
StructuredTypeAttributesCollection(IStructuredType)
Creates a new instance
public StructuredTypeAttributesCollection(IStructuredType parent)
Parameters
parentIStructuredTypethe parent StructuredType
Methods
SetOpposite(IAttribute, IStructuredType)
Sets the opposite of the given item
protected override void SetOpposite(IAttribute item, IStructuredType newParent)
Parameters
itemIAttributethe item
newParentIStructuredTypethe new parent or null, if the item is removed from the collection