using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace Tango.FSE.Common.Storage { public class SingleStorageResult : IStorageResult { public String SelectedItem { get; set; } public bool Confirmed { get; set; } public static implicit operator bool(SingleStorageResult result) { return result.SelectedItem != null && result.Confirmed; } } }