PostSharp.ILAPI ReferencePost­Sharp.​Patterns.​Collections.​AdvicesCollection­Dynamic­Advice<T>Is­Read­Only
Open sandboxFocus

CollectionDynamicAdvice<T>.IsReadOnly Method

IsReadOnly(AdviceEnumerator<ICollectionDynamicAdviceBase>)

Determines whether the advised collection is read-only.

Declaration
public virtual bool IsReadOnly(AdviceEnumerator<ICollectionDynamicAdviceBase> nextAdvices)
Parameters
Type Name Description
AdviceEnumerator<ICollectionDynamicAdviceBase> nextAdvices

The next advice in the chain of responsibility.

Returns
Type Description
System.Boolean

true if the advised collection is read-only, otherwise false.

Implements
ICollectionDynamicAdviceBase.IsReadOnly(AdviceEnumerator<ICollectionDynamicAdviceBase>)