Beispiel #1
0
        public DefaultLoader(IRuntimeTypeSource runtimeTypeSource)
        {
            IParserFactory parserFactory = new DefaultParserFactory(runtimeTypeSource);

            xmlLoader = new XmlLoader(parserFactory);
        }
        private void LoadXaml()
        {
            var loader = new XmlLoader(new DummyParserFactory(RuntimeTypeSource));

            var rootObject = loader.FromString(Xaml);
            Representation = ConvertToViewNodes(rootObject);
        }
Beispiel #3
0
 public DefaultLoader(IRuntimeTypeSource runtimeTypeSource)
 {
     IParserFactory parserFactory = new DefaultParserFactory(runtimeTypeSource);
     xmlLoader = new XmlLoader(parserFactory);
 }