public static void That(object objA, IPerformAComparison comparison) { var success = comparison.Execute(objA); if (!success) { throw comparison.GenerateError(objA); } }
public static void That(object objA, IPerformAComparison comparison) { var success = comparison.Execute(objA); if (!success) { throw comparison.GenerateError(objA); } }
public bool Execute(object objA) { return(!_regular.Execute(objA)); }