public void Close([NotNull] object viewOrViewModel)
        {
            var regionInfo = RegionManager.FindRegionInfoItem(viewOrViewModel, RegionNames.TabRegion, RegionNames.LeftRegion, RegionNames.RightRegion);

            if (regionInfo.IsEmpty())
            {
                return;
            }

            var region = RegionManager.Regions[regionInfo.RegionName];

            if (!region.Views.Any())
            {
                return;
            }

            if (region is AllActiveRegion)
            {
                region.Remove(regionInfo.View);
            }
            else
            {
                region.Deactivate(regionInfo.View);
            }
        }
        public virtual void RequestNavigate([NotNull] Type viewType, IDictionary <string, object> parameters = null)
        {
            var info = RegionManager.FindRegionInfoItem(viewType.FullName);

            if (info.IsEmpty())
            {
                info.RegionName = DefaultRegionName;
            }

            RegionManager.RequestNavigate(info.RegionName, viewType.FullName, parameters.ToParameters());
        }