@model IEnumerable @{ Layout = null; }
@foreach (var snapshot in Model) { var snapProperties = Model.First().GetType().GetProperties(); foreach (var prop in snapProperties) { @if (prop.GetValue(snapshot) is System.Collections.Generic.HashSet) { @*@prop.Name foreach (var v in (System.Collections.Generic.HashSet)prop.GetValue(snapshot)) { @v.ToString(),
}*@ } else { @prop.Name — @prop.GetValue(snapshot)
} }
}