internal override void RestoreFormControlState(FormControlState state) { if (state.Type.Is(Type) && state.Name.Is(Name)) { Challenge = state.Value; } }
internal override void RestoreFormControlState(FormControlState state) { if (state.Type == Type && state.Name == Name) Value = state.Value; }
/// <summary> /// Resets the form control state to the given state. /// </summary> /// <param name="state">The desired state.</param> internal abstract void RestoreFormControlState(FormControlState state);