Ejemplo n.º 1
0
        public static void Register()
        {
            var factory = new DefaultFluentUIFactory();

            factory.Register <TextBoxFluentUI> ((id, args) => {
                return(new
                       TextBoxFluentUI(id)
                       .Class("form-control"));
            });

            GlobalConfiguration.Factory = factory;
        }
Ejemplo n.º 2
0
 static GlobalConfiguration()
 {
     Factory = new DefaultFluentUIFactory();
 }