Exemplo n.º 1
0
 protected override void OnSetState(Csla.Serialization.Mobile.SerializationInfo info, Csla.Core.StateMode mode)
 {
     base.OnSetState(info, mode);
     Name         = info.GetValue <string>("SilverlightPrincipal.Criteria.Name");
     Password     = info.GetValue <string>("SilverlightPrincipal.Criteria.Password");
     ProviderType = info.GetValue <string>("SilverlightPrincipal.Criteria.ProviderType");
 }
Exemplo n.º 2
0
 /// <summary>
 /// Override this method to set custom field values
 /// into the serialization stream.
 /// </summary>
 /// <param name="info">Serialization info.</param>
 /// <param name="mode">Serialization mode.</param>
 protected override void OnSetState(Csla.Serialization.Mobile.SerializationInfo info, Csla.Core.StateMode mode)
 {
     base.OnSetState(info, mode);
     Name     = info.GetValue <string>("MembershipIdentity.Criteria.Name");
     Password = info.GetValue <string>("MembershipIdentity.Criteria.Password");
     MembershipIdentityType = info.GetValue <string>("MembershipIdentity.Criteria.MembershipIdentityType");
 }
Exemplo n.º 3
0
 protected override void OnSetState(Csla.Serialization.Mobile.SerializationInfo info)
 {
     _isChild   = info.GetValue <bool>("Csla.BusinessListBase._isChild");
     _editLevel = info.GetValue <int>("Csla.BusinessListBase._editLevel");
     _identity  = info.GetValue <int>("Csla.Core.BusinessBase._identity");
     base.OnSetState(info);
 }
Exemplo n.º 4
0
 protected override void OnSetState(Csla.Serialization.Mobile.SerializationInfo info, StateMode mode)
 {
     base.OnSetState(info, mode);
     _customerId = info.GetValue <int>("_customerId");
 }
Exemplo n.º 5
0
 protected override void OnSetState(Csla.Serialization.Mobile.SerializationInfo info)
 {
     base.OnSetState(info);
     TotalRowCount = info.GetValue <int>("TotalRowCount");
 }
Exemplo n.º 6
0
 /// <summary>
 /// Override this method to retrieve your field values
 /// from the MobileFormatter serialzation stream.
 /// </summary>
 /// <param name="info">
 /// Object containing the data to serialize.
 /// </param>
 protected override void OnSetState(Csla.Serialization.Mobile.SerializationInfo info)
 {
     base.OnSetState(info);
     _isReadOnly = info.GetValue <bool>("Csla.Core.ReadOnlyBindingList._isReadOnly");
 }