Cadenza.Collections.Tests.EnumerableTest.AggregateHistory_SF_SourceEmpty C# (CSharp) Метод

AggregateHistory_SF_SourceEmpty() приватный Метод

private AggregateHistory_SF_SourceEmpty ( ) : void
Результат void
		public void AggregateHistory_SF_SourceEmpty ()
		{
			IEnumerable<int>  s = new int[]{};
			Func<int,int,int> f = (a,b) => a-b;
			// need .Apply() as check for empty source is delayed until enumeration.
			s.AggregateHistory (f).Apply ();
		}
EnumerableTest