public static void AddVxFormGenerator(this IServiceCollection services, Core.Layout.VxFormLayoutOptions vxFormLayoutOptions = null, VxComponentsRepository repository = null, VxFormOptions options = null) { FormGeneratorServiceServiceCollectionExtension.AddVxFormGenerator(services, vxFormLayoutOptions ?? new Core.Layout.VxFormLayoutOptions(), repository ?? new VxComponentsRepository(), options ?? new VxFormOptions()); }
public static void AddVxFormGenerator(this IServiceCollection services, VxBootstrapRepository repository = null, VxBootstrapFormOptions options = null) { FormGeneratorServiceServiceCollectionExtension.AddVxFormGenerator(services, repository ?? new VxBootstrapRepository(), options ?? new VxBootstrapFormOptions()); }