PostSharp.ILAPI ReferencePost­Sharp.​Patterns.​Collections.​AdvicesICollection­Dynamic­Advice­BaseIs­Read­Only
Open sandboxFocus

ICollectionDynamicAdviceBase.IsReadOnly Method

IsReadOnly(AdviceEnumerator<ICollectionDynamicAdviceBase>)

Determines whether the advised collection is read-only.

Declaration
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.