From 13af6f8e1a71dba58f581a0abae7a57c414a6a1c Mon Sep 17 00:00:00 2001 From: Doug Bunting Date: Tue, 29 Sep 2015 09:58:23 -0700 Subject: [PATCH] Wrap rather long line in 9243d83 --- .../DataAnnotationsMetadataProvider.cs | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/Microsoft.AspNet.Mvc.DataAnnotations/DataAnnotationsMetadataProvider.cs b/src/Microsoft.AspNet.Mvc.DataAnnotations/DataAnnotationsMetadataProvider.cs index 8af110ea1e..39a992c8ae 100644 --- a/src/Microsoft.AspNet.Mvc.DataAnnotations/DataAnnotationsMetadataProvider.cs +++ b/src/Microsoft.AspNet.Mvc.DataAnnotations/DataAnnotationsMetadataProvider.cs @@ -129,7 +129,9 @@ public void GetDisplayMetadata(DisplayMetadataProviderContext context) var groupName = GetDisplayGroup(field); var value = ((Enum)field.GetValue(obj: null)).ToString("d"); - groupedDisplayNamesAndValues.Add(new KeyValuePair(new EnumGroupAndName(groupName, displayName), value)); + groupedDisplayNamesAndValues.Add(new KeyValuePair( + new EnumGroupAndName(groupName, displayName), + value)); namesAndValues.Add(name, value); }