Exemple #1
0
        public virtual CoreOptionsExtension WithNavigationConfiguration([CanBeNull] NavigationConfiguration navigationConfiguration)
        {
            var clone = Clone();

            clone._navigationConfiguration = navigationConfiguration;

            return(clone);
        }
 protected NavigationConfiguration([NotNull] NavigationConfiguration copyFrom)
 {
     _providers = new TypeList <NavigationProvider>();
     if (copyFrom._providers.Count > 0)
     {
         foreach (var type in copyFrom._providers)
         {
             _providers.Add(type);
         }
     }
 }