public void OneTimeSetUp() { var applicationPatcherWpfConfiguration = new ApplicationPatcherWpfConfiguration { FieldNameRules = new Configurations.NameRules { Type = NameRulesType.lowerCamelCase }, PropertyNameRules = new Configurations.NameRules { Type = NameRulesType.UpperCamelCase }, CommandFieldNameRules = new Configurations.NameRules { Suffix = "Command", Type = NameRulesType.lowerCamelCase }, CommandPropertyNameRules = new Configurations.NameRules { Suffix = "Command", Type = NameRulesType.UpperCamelCase }, DependencyFieldNameRules = new Configurations.NameRules { Suffix = "Property", Type = NameRulesType.UpperCamelCase }, DependencyPropertyNameRules = new Configurations.NameRules { Type = NameRulesType.UpperCamelCase }, CommandExecuteMethodNameRules = new Configurations.NameRules { Prefix = "Execute", Suffix = "Method", Type = NameRulesType.UpperCamelCase }, CommandCanExecuteMethodNameRules = new Configurations.NameRules { Prefix = "CanExecute", Suffix = "Method", Type = NameRulesType.UpperCamelCase } }; nameRulesService = NameRulesServiceHelper.CreateService(applicationPatcherWpfConfiguration); }
public PropertyGrouperService(ApplicationPatcherWpfConfiguration applicationPatcherWpfConfiguration, NameRulesService nameRulesService) { this.applicationPatcherWpfConfiguration = applicationPatcherWpfConfiguration; this.nameRulesService = nameRulesService; }
public FrameworkElementDependencyPatcher(DependencyGrouperService dependencyGrouperService, NameRulesService nameRulesService) { this.dependencyGrouperService = dependencyGrouperService; this.nameRulesService = nameRulesService; log = Log.For(this); }
public ViewModelCommandGroupsPatcher(CommandGrouperService commandGrouperService, NameRulesService nameRulesService) { this.commandGrouperService = commandGrouperService; this.nameRulesService = nameRulesService; log = Log.For(this); }
public ViewModelPropertyGroupsPatcher(PropertyGrouperService propertyGrouperService, NameRulesService nameRulesService) { this.propertyGrouperService = propertyGrouperService; this.nameRulesService = nameRulesService; log = Log.For(this); }