PostSharp6.3/API Reference/Post­Sharp.​Patterns.​Collections.​Advices Namespace/ICollection­Dynamic­Advice­Base Interface/ICollection­Dynamic­Advice­Base Methods/ICollection­Dynamic­Advice­Base.​Is­Read­Only Method

ICollectionDynamicAdviceBase.IsReadOnly Method

Determines whether the advised collection is read-only.

Namespace:  PostSharp.Patterns.Collections.Advices
Assembly:  PostSharp.Patterns.Common (in PostSharp.Patterns.Common.dll) Version: 6.3.11.0 (6.3.11.0)
Syntax
C#
bool IsReadOnly(
	AdviceEnumerator<ICollectionDynamicAdviceBase> nextAdvices
)

Parameters

nextAdvices
Type: PostSharp.Patterns.DynamicAdvising.AdviceEnumerator<ICollectionDynamicAdviceBase>
The next advice in the chain of responsibility.

Return Value

Type: Boolean
true if the advised collection is read-only, otherwise false.
See Also