Post­Sharp Documentation / API Reference / Post­Sharp.​Patterns.​Collections Namespace / Advisable­Collection(T) Class / Advisable­Collection(T) Methods / Advisable­Collection(T).​Add Method

AdvisableCollection<T>.Add Method

Adds an item to the ICollection<T>.

Namespace:  PostSharp.Patterns.Collections
Assembly:  PostSharp.Patterns.Common (in PostSharp.Patterns.Common.dll) Version: 6.1.5.0 (6.1.5.0)
Syntax
C#
public void Add(
	T item
)

Parameters

item
Type: T
The object to add to the ICollection<T>.

Implements

ICollection<T>.Add(T)
Exceptions
ExceptionCondition
NotSupportedExceptionThe ICollection<T> is read-only.
See Also