Exemplo n.º 1
0
        public void Test1()
        {
            var p = new ProxyUtils(WriteOut, ProxyUtilsBase.CreateInterceptor(WriteOut));
            var xamlSchemaContext = p.CreateXamlSchemaContext();

            Logger.Info("{schemaContext}", xamlSchemaContext);
            foreach (var ns in xamlSchemaContext.GetAllXamlNamespaces())
            {
                var allXamlTypes = xamlSchemaContext.GetAllXamlTypes(ns);
                Logger.Debug("{numtypes} {namespace}", allXamlTypes.Count, ns);

                // continue ;
                foreach (var t in allXamlTypes)
                {
                    if (t.IsMarkupExtension)
                    {
                        Logger.Debug("{t}", t);
                    }
                }
            }
        }