PostSharp 6.7 / / Post­Sharp Documentation / API Reference / Post­Sharp.​Patterns.​Collections.​Advices Namespace / Dictionary­Dynamic­Advice(TKey, TValue) Class / Dictionary­Dynamic­Advice(TKey, TValue) Methods / Dictionary­Dynamic­Advice(TKey, TValue).​Is­Read­Only Method

DictionaryDynamicAdvice<TKey, TValue>.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.7.12.0 (6.7.12.0)
Syntax
C#
public virtual 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.

Implements

ICollectionDynamicAdviceBase.IsReadOnly(AdviceEnumerator<ICollectionDynamicAdviceBase>)
See Also