Esempio n. 1
0
 public SerializableMvxCachedFragmentInfo(
     SerializableMvxCachedFragmentInfo serializableMvxCachedFragmentInfoToClone)
 {
     Tag            = serializableMvxCachedFragmentInfoToClone.Tag;
     FragmentType   = serializableMvxCachedFragmentInfoToClone.FragmentType;
     ViewModelType  = serializableMvxCachedFragmentInfoToClone.ViewModelType;
     CacheFragment  = serializableMvxCachedFragmentInfoToClone.CacheFragment;
     ContentId      = serializableMvxCachedFragmentInfoToClone.ContentId;
     AddToBackStack = serializableMvxCachedFragmentInfoToClone.AddToBackStack;
 }
 public virtual IMvxCachedFragmentInfo ConvertSerializableFragmentInfo(
     SerializableMvxCachedFragmentInfo fromSerializableMvxCachedFragmentInfo)
 {
     return(new MvxCachedFragmentInfo(fromSerializableMvxCachedFragmentInfo.Tag,
                                      fromSerializableMvxCachedFragmentInfo.FragmentType,
                                      fromSerializableMvxCachedFragmentInfo.ViewModelType,
                                      fromSerializableMvxCachedFragmentInfo.CacheFragment,
                                      fromSerializableMvxCachedFragmentInfo.AddToBackStack)
     {
         ContentId = fromSerializableMvxCachedFragmentInfo.ContentId
     });
 }