private CollectionStack(CollectionStack previous, Collection collection) { if (previous == null) { throw new ArgumentNullException(nameof(previous)); } _previous = previous; _collection = collection; }
public ScopeLease(CollectionStack collectionStack) { _collectionStack = collectionStack; }