Click or drag to resize
CMSAssertForEachT Method
Asserts the given expression for each item in the given collection

Namespace: CMS.Tests
Assembly: CMS.Tests (in CMS.Tests.dll) Version: 9.0.0
Syntax
C#
public static void ForEach<T>(
	IEnumerable<T> items,
	Action<T> action
)

Parameters

items
Type: System.Collections.GenericIEnumerableT
Items to assert
action
Type: SystemActionT
Assert action for the item

Type Parameters

T
See Also