public static void Validate(ISelfValidating obj) { if (!obj.Validate()) throw new InvalidOperationException(obj.Message); }