Ejemplo n.º 1
0
 internal override void RestoreFormControlState(FormControlState state)
 {
     if (state.Type.Is(Type) && state.Name.Is(Name))
     {
         Challenge = state.Value;
     }
 }
Ejemplo n.º 2
0
 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);