using System; using System.Collections; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using Tango.FSE.Common; namespace Tango.FSE.Procedures.Dialogs { public class ResultGridViewVM : FSEDialogViewVM { public Result Result { get; set; } public List Items { get; set; } public ResultGridViewVM(Result result) : base() { CanCancel = false; OKText = "CLOSE"; Result = result; Items = new List(); foreach (var item in Result.Value as IEnumerable) { Items.Add(item); } } } }