DependentViewInfo CreateDependentViewInfo(DependentViewAttribute attribute)
        {
            var info = new DependentViewInfo();

            info.Region = attribute.Region;
            info.View   = _container.Resolve(attribute.Type);
            return(info);
        }
        private DependentViewInfo CreateDependentViewInfo(DependentViewAttribute attribute)
        {
            // Create view instance
            var info = new DependentViewInfo
            {
                RegionName = attribute.RegionName, View = _container.Resolve(attribute.DependentViewType)
            };

            return(info);
        }