Exemplo n.º 1
0
        internal static IEnumerator <Type> Process(System.Configuration.Configuration config)
        {
            ViewSection viewsection = config.GetSection("RegisterViews") as ViewSection;

            if (viewsection.IsNotNull())
            {
                foreach (View view in viewsection.Views)
                {
                    yield return(Type.GetType(view.Class));
                }
            }
        }