예제 #1
0
        public Control Load()
        {
            var assembler = new PerspexObjectAssembler(_context);

            foreach (var xamlNode in _nodes)
            {
                assembler.Process(xamlNode);
            }

            return (Control)assembler.Result;
        }
예제 #2
0
        public Control Load()
        {
            var assembler = new PerspexObjectAssembler(runtimeTypeSource);

            foreach (var xamlNode in nodes)
            {
                assembler.Process(xamlNode);
            }

            return (Control)assembler.Result;
        }