public static void Register() { var factory = new DefaultFluentUIFactory(); factory.Register <TextBoxFluentUI> ((id, args) => { return(new TextBoxFluentUI(id) .Class("form-control")); }); GlobalConfiguration.Factory = factory; }
static GlobalConfiguration() { Factory = new DefaultFluentUIFactory(); }