Exemple #1
0
 /// <summary>Initializes a new instance of the <see cref="SynchronizedReadOnlyObservableCollection{T}" /> class that is a read-only wrapper around the specified <see cref="SynchronizedObservableCollection{T}"/>.</summary>
 /// <param name="collection">The collection to wrap.</param>
 /// <exception cref="T:System.ArgumentNullException">
 /// <paramref name="collection" /> is null.</exception>
 public SynchronizedReadOnlyObservableCollection(SynchronizedObservableCollection <T> collection) : this(collection, collection?.Context)
 {
 }