public AssertionResult(IValueProvider <TAsserted, TSource> valueProvider) : this(valueProvider.LastValue(), valueProvider.Source.LastValue()) { }
public static T[] All <T, TSource>(this IValueProvider <T[], TSource> valueProvider, Action <T> assertion, IAssertionConfiguration configuration) { return(valueProvider.Filtered(assertion).Assert(x => AssertLengthEqual(x, valueProvider.LastValue().Length), configuration).GetAsserted()); }