private static IEnumerable <MappedInterval <T> > CollectFrom <T>(IMappedIntervalsCollection <T> collection, long from) { using (var e = collection.GetEnumerator(from)) { while (e.MoveNext()) { yield return(e.Current); } } }
public void IterationSetup() { Collection = Description.Create<TPayload>(); AfterCollectionCreation(); }
public void SetUp() { _sut = _factory.Create <Crate>(); }
public void SetUp() { _sut = _factory(); }