/// <summary> /// Checks if this variable can hold this value. /// </summary> private bool IsValid(String value) { ThrowIfDisposed(); return !Validating.GetInvocationList().Select(h => { var check = new StringValidationEventArgs(value); h.DynamicInvoke(new object[] { this, check }); return !check.Valid; }).Any(failed => failed); }