public static AppConfigurationMapperAttributes HasFormat(this AppConfigurationMapperAttributes configValue, string format) { if (configValue == null) return null; configValue.Format = format; return configValue; } }