@model IEnumerable @{ Layout = null; }
@foreach (var snapshot in Model) { var snapProperties = Model.First().GetType().GetProperties().OrderBy(prop => prop.Name); foreach (var prop in snapProperties) { @if ((prop.Name.EndsWith("Id") && prop.Name != "WeaponId" || prop.Name == "Server") || new[] {"Active", "Client", "PredictedViewAngles"}.Contains(prop.Name)) { continue; } @prop.Name — @prop.GetValue(snapshot)?.ToString()?.StripColors()
}
}