PostSharp//API Reference/Post­Sharp.​Patterns.​Collections.​Advices/Hash­Set­Dynamic­Advice<T>/Is­Synchronized
Open sandboxFocus

Method IsSynchronized

IsSynchronized(AdviceEnumerator<ICollectionDynamicAdviceBase>)

Determines whether the advised collection is synchronized (i.e. thread-safe).

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

The next advice in the chain of responsibility.

Returns
Type Description
Boolean

true if the advised collection is synchronized (i.e. thread-safe), otherwise false.

Implements
ICollectionDynamicAdviceBase.IsSynchronized(AdviceEnumerator<ICollectionDynamicAdviceBase>)