Exemplo n.º 1
0
        internal async Task InitializeInput(IValidationInput inputComponent)
        {
            this.inputComponent = inputComponent;

            if (Mode == ValidationMode.Auto && ValidateOnLoad)
            {
                await ValidateAsync(inputComponent.ValidationValue);
            }

            initialized = true;
        }
Exemplo n.º 2
0
        internal void InitializeInput(IValidationInput inputComponent)
        {
            this.inputComponent = inputComponent;

            if (Mode == ValidationMode.Auto && ValidateOnLoad)
            {
                Validate(inputComponent.ValidationValue);
            }

            initialized = true;
        }
Exemplo n.º 3
0
        internal void InitializeInput(IValidationInput inputComponent)
        {
            this.inputComponent = inputComponent;

            // save the input value
            lastKnownValue = inputComponent.ValidationValue;

            if (Mode == ValidationMode.Auto)
            {
                Validate();
            }
        }