Пример #1
0
 public SharedDictionary(LockingStrategy strategy) : this(LockingStrategyFactory.Create(strategy))
 {
 }
Пример #2
0
 /// <summary>
 /// Initializes a new instance of the <see cref="SharedList{T}"/> class.
 /// </summary>
 /// <param name="strategy">The locking strategy to use.</param>
 public SharedList(LockingStrategy strategy)
     : this(LockingStrategyFactory.Create(strategy))
 {
 }