Ejemplo n.º 1
0
        protected override IntPtr CreateFromStringInternal(string xaml, bool createNamescope, bool validateTemplates, bool import_default_xmlns, out Kind kind)
        {
            Value v = XamlParser.CreateFromFile(xaml, createNamescope, false);

            kind = v.Kind;
            return(ValueToIntPtr(v));
        }
Ejemplo n.º 2
0
        protected override IntPtr CreateFromFileInternal(string path, bool createNamescope, out Kind kind)
        {
            Value v = XamlParser.CreateFromFile(path, createNamescope, false);

            kind = v.Kind;
            return(ValueToIntPtr(v));
        }