public static PropertyBase ToEnumValueName(string value, string parentClassName) { return(new PropertyBase(parentClassName) { OriginalName = value, Name = NetNamingMapper.GetEnumValueName(value) }); }