internal static void Validate(BasicErrorPayload toValidate, IList validated) { if (validated.Contains(toValidate)) { return; } validated.Add(toValidate); // no validation required }
public static void Validate(BasicErrorPayload toValidate) { Validate(toValidate, new ArrayList()); }