Source/Csla/NameValueListBase.cs
/// <summary>
/// Override this method to manually set custom field
/// values into the serialization stream.
/// </summary>
/// <param name="info">Serialization info.</param>
/// <param name="mode">Serialization mode.</param>
Override this method to manually set custom field
values into the serialization stream.
Override this method to manually set custom field values into the serialization stream .
protected override void OnSetState(SerializationInfo info, StateMode mode)
      {
        base.OnSetState(info, mode);
        _key = info.GetValue<K>("NameValuePair._key");
        _value = info.GetValue<V>("NameValuePair._value");
      }
protected override void OnSetState ( SerializationInfo info , StateMode mode ) { base . OnSetState ( info , mode ) ; _key = info . GetValue < K > ( " " ) ; _value = info . GetValue < V > ( " " ) ; }
Override this method to manually set custom field
values into the serialization stream.
Override this method to manually set custom field values into the serialization stream .
info
SerializationInfo
None
mode
StateMode
None