public void OneTimeSetUp() { applicationPatcherWpfConfiguration = new ApplicationPatcherWpfConfiguration { FieldNameRules = new Configurations.NameRules { Type = NameRulesType.lowerCamelCase }, PropertyNameRules = new Configurations.NameRules { Type = NameRulesType.UpperCamelCase } }; var nameRulesService = NameRulesServiceHelper.CreateService(applicationPatcherWpfConfiguration); propertyGrouperService = new PropertyGrouperService(applicationPatcherWpfConfiguration, nameRulesService); CommandType = FakeCommonTypeBuilder.Create(KnownTypeNames.ICommand).Build(); fakeCommonAssemblyBuilder = FakeCommonAssemblyBuilder.Create().AddCommonType(CommandType, false); FakeCommonTypeBuilder.ClearCreatedTypes(); }
public ViewModelPropertyGroupsPatcher(PropertyGrouperService propertyGrouperService, NameRulesService nameRulesService) { this.propertyGrouperService = propertyGrouperService; this.nameRulesService = nameRulesService; log = Log.For(this); }