Exemplo n.º 1
0
        public static NameRulesService CreateService(ApplicationPatcherWpfConfiguration configuration)
        {
            var specificNameRulesServices =
                new SpecificNameRulesService[] {
                new AllLowerNameRules(),
                new AllUpperNameRules(),
                new FirstUpperNameRules(),
                new LowerCamelCaseNameRules(),
                new UpperCamelCaseNameRules()
            };

            return(new NameRulesService(configuration, specificNameRulesServices));
        }
 protected SpecificNameRulesServiceTestsBase(SpecificNameRulesService specificNameRulesService)
 {
     this.specificNameRulesService = specificNameRulesService;
 }