public static NullableDataSourceInvertedStandard <OptionalCollectionStateValidator <TValue>, ItemCountValidator <TValue>, UniqueValidator <TValue>, TValue[]> Unique <TValue>(this NullableDataSourceInverted <OptionalCollectionStateValidator <TValue>, ItemCountValidator <TValue>, TValue[]> source) => source.Add(new UniqueValidator <TValue>());
public static NullableDataSourceInvertedStandard <OptionalCollectionStateValidator <TValue>, UniqueValidator <TValue>, ItemCountValidator <TValue>, TValue[]> ItemCount <TValue>(this NullableDataSourceInverted <OptionalCollectionStateValidator <TValue>, UniqueValidator <TValue>, TValue[]> source, int?minimumItems = null, int?maximumItems = null) => source.Add(new ItemCountValidator <TValue>(minimumItems, maximumItems));
public static NullableDataSourceInvertedStandard <OptionalCollectionStateValidator <TValue>, ItemCountValidator <TValue>, CustomValidator <TValue[]>, TValue[]> Assert <TValue>(this NullableDataSourceInverted <OptionalCollectionStateValidator <TValue>, ItemCountValidator <TValue>, TValue[]> source, string description, Func <TValue[], bool> validator) => source.Add(new CustomValidator <TValue[]>(description, validator));
public static NullableDataSourceInvertedStandard <RequiredCollectionNullableStateValidator <TValue>, UniqueValidator <TValue>, CustomValidator <TValue[]>, TValue[]> Assert <TValue>(this NullableDataSourceInverted <RequiredCollectionNullableStateValidator <TValue>, UniqueValidator <TValue>, TValue[]> source, string description, Func <TValue[], bool> validator) => source.Add(new CustomValidator <TValue[]>(description, validator));