예제 #1
0
 public ModalConfigurator(IButtonConfigBuilder configBuilder)
 {
     _configBuilder = configBuilder;
     _configBuilder.Configuration.Button.ClassName = "buttonModalClass";
 }
예제 #2
0
 public CreateConfigurator(IButtonConfigBuilder configBuilder)
 {            
     _configBuilder = configBuilder;
     _configBuilder.Configuration.Button.ClassName = "buttonEntryClass";
 }
 public SelectModalConfiguration(IButtonConfigBuilder configBuilder)
 {
     _configBuilder = configBuilder;
     _configBuilder.Configuration.Button.ClassName = "buttonSelectModalClass";
 }
 public DeleteConfigurator(IButtonConfigBuilder configBuilder)
 {
     _configBuilder = configBuilder;
     _configBuilder.Configuration.Button.ClassName = "buttonDeleteClass";
 }
 public CustomActionConfigurator(IButtonConfigBuilder configBuilder)
 {
     _configBuilder = configBuilder;
     _configBuilder.Configuration.Button.ClassName = "buttonActionClass";
 }
예제 #6
0
        private void SetPropertiesFromAction(IButtonConfigBuilder builder, Action <IButtonPropertyConfigurator> configuration)
        {
            IButtonPropertyConfigurator configurator = new ButtonPropertyConfigurator(builder.Configuration.Button);

            configuration(configurator);
        }