示例#1
0
        private CollectionStack(CollectionStack previous, Collection collection)
        {
            if (previous == null)
            {
                throw new ArgumentNullException(nameof(previous));
            }

            _previous   = previous;
            _collection = collection;
        }
示例#2
0
 public ScopeLease(CollectionStack collectionStack)
 {
     _collectionStack = collectionStack;
 }