AntTweakBar.StringVariable.IsValid C# (CSharp) Method

IsValid() private method

Checks if this variable can hold this value.
private IsValid ( String value ) : bool
value String
return bool
        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);
        }