예제 #1
0
 protected override void OnSetState(Serialization.Mobile.SerializationInfo info, 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");
 }
예제 #2
0
 protected override void OnGetState(Serialization.Mobile.SerializationInfo info, Core.StateMode mode)
 {
     info.AddValue("SilverlightPrincipal.Criteria.Name", Name);
     info.AddValue("SilverlightPrincipal.Criteria.Password", Password);
     info.AddValue("SilverlightPrincipal.Criteria.ProviderType", ProviderType);
     base.OnGetState(info, mode);
 }