+ @switch (a.GetDisplayName())
+ {
+ case "Structured Postal Address":
+
+ @foreach (var item in (Dictionary)a.GetValue())
+ {
+
+ @item.Key |
+ @item.Value |
+
+ }
+
+ break;
+
+ case "Identity Profile Report":
+
+ @foreach (var item in (Dictionary)a.GetValue())
+ {
+
+
+
+
+ @item.Key
+
+ @Html.Raw(@item.Value.ToString(Formatting.Indented))
+
+ |
+
+ }
+
+ break;
+
+ case "Document Details":
+ {
+ DocumentDetails documentDetailsValue = (DocumentDetails)a.GetValue();
+
+
+ Type |
+ @documentDetailsValue.DocumentType |
+
+
+ Issuing Country |
+ @documentDetailsValue.IssuingCountry |
+
+
+ Issuing Authority |
+ @documentDetailsValue.IssuingAuthority |
+
+
+ Document Number |
+ @documentDetailsValue.DocumentNumber |
+
+
+ Expiration Date |
+ @documentDetailsValue.ExpirationDate.ToString() |
+
+
+ }
+ break;
+
+ case "Document Images":
+ foreach (var image in (List
)a.GetValue())
+ {
+
+ }
+ break;
+
+ default:
+ @a.GetDisplayValue()
+ break;
+ }
+