public string GetSchadendetailBezeichnung(SchadendetailTyp schadendetailTyp) { var propertyInfo = typeof(MobileLocalization).GetProperties().SingleOrDefault(p => p.Name == "SchadendetailTyp" + schadendetailTyp.ToString()); if (propertyInfo == null) { GetLogger().Warn("Localization not found for enum: " + schadendetailTyp.ToString()); return(schadendetailTyp.ToString()); } return((string)propertyInfo.GetValue(this, new object[0])); }