public SerializableCustomFragmentInfo(SerializableMvxCachedFragmentInfo baseFragmentInfo)
 {
     AddToBackStack = baseFragmentInfo.AddToBackStack;
     ContentId      = baseFragmentInfo.ContentId;
     FragmentType   = baseFragmentInfo.FragmentType;
     Tag            = baseFragmentInfo.Tag;
     ViewModelType  = baseFragmentInfo.ViewModelType;
 }
        /// <summary>
        /// Converts the serializable fragment information.
        /// </summary>
        /// <param name="fromSerializableMvxCachedFragmentInfo">From serializable MVX cached fragment information.</param>
        /// <returns></returns>
        public override IMvxCachedFragmentInfo ConvertSerializableFragmentInfo(SerializableMvxCachedFragmentInfo fromSerializableMvxCachedFragmentInfo)
        {
            var serializableCustomFragmentInfo = fromSerializableMvxCachedFragmentInfo as SerializableCustomFragmentInfo;
            var baseCachedFragmentInfo         = base.ConvertSerializableFragmentInfo(fromSerializableMvxCachedFragmentInfo);

            return(new CustomFragmentInfo(baseCachedFragmentInfo.Tag, baseCachedFragmentInfo.FragmentType,
                                          baseCachedFragmentInfo.ViewModelType, baseCachedFragmentInfo.AddToBackStack,
                                          serializableCustomFragmentInfo?.IsRoot ?? false)
            {
                ContentId = baseCachedFragmentInfo.ContentId,
                CachedFragment = baseCachedFragmentInfo.CachedFragment
            });
        }