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