Exemplo n.º 1
0
        public void ApplyResources()
        {
            var loader = new Html5ContextResourceLoader();

            Registry.ConcreteContext = new Limaki.Common.IOC.ApplicationContext();
            loader.ApplyResources(Registry.ConcreteContext);
        }
Exemplo n.º 2
0
        public void RegisterHtml5(IApplicationContext context)
        {
            var html5 = new Html5ContextResourceLoader();

            html5.ApplyHtml5Resources(context);
            SystemFonts.Clear();
            new ViewContextResourceLoader().ApplyResources(context);
        }