public B With(ILayoutConfig config) { base.With(config); WithResponsive(config.Responsive); return(Builder()); }
public static void TryAddLayoutServices(this IServiceCollection services, ILayoutConfig config) { services.TryAddMaterialServices(config); services.TryAddScoped <ILayoutConfig>((p) => config); services.TryAddStyleTypeProvider <LayoutStyleProvider>(); }
public static void TryAddMaterialViewServices(this IServiceCollection services, ILayoutConfig config) { services.TryAddLayoutServices(config); services.TryAddButtonServices(config); services.TryAddProgressServices(config); services.TryAddDividerServices(config); services.TryAddTableServices(config); services.TryAddAppBarServices(config); services.TryAddToolbarServices(config); //services.AddBlazorStyled(); services.TryAddStyleTypeProvider <MaterialStyleProvider>(); }
public static void TryAddReactiveViewServices(this IServiceCollection services, IScheduler scheduler, ILayoutConfig config) { services.TryAddMobxServices(config); services.TryAddReactiveStateServices(scheduler); services.TryAddDevToolsServices(config); services.TryAddMobxFormServices(config); services.TryAddLayoutServices(config); //services.AddBlazorStyled(); services.TryAddStyleTypeProvider <ReactiveStyleProvider>(); services.TryAddScriptTypeProvider <ReactiveScriptProvider>(); }
public static void TryAddStateTreeViewServices(this IServiceCollection services, ILayoutConfig config) { services.TryAddMobxServices(config); services.TryAddStateTreeStateServices(); services.TryAddDevToolsServices(config); services.TryAddLayoutServices(config); services.TryAddButtonServices(config); services.TryAddProgressServices(config); services.TryAddDividerServices(config); services.TryAddTableServices(config); services.TryAddAppBarServices(config); services.TryAddToolbarServices(config); services.TryAddStyleTypeProvider <StateTreeStyleProvider>(); }
public static void AddLayout(this IServiceCollection services, ILayoutConfig config) { services.AddMaterialUI(); services.AddSingleton <ILayoutConfig>(config); }
public LayoutConfigBuilder With(ILayoutConfig config) { WithResponsive(config.Responsive); return(this); }
public static void AddDashboardView(this IServiceCollection services, ILayoutConfig config) { services.AddMaterialUI(); services.AddLayout(config); }