using System; using System.Collections.Generic; using Tecan.At.Dragonfly.AutomationInterface.Data; namespace Tecan.At.AutomationInterface.SampleApp { public class SessionData { public List AvailableMethods { get; set; } public IInstrument SelectedInstrument { get; set; } public bool MethodIsValid { get; set; } public Guid WorkspaceId { get; set; } public Guid ExecutionId { get; set; } public string ExportedDataFile { get; set; } public void EnforceSetInstrument() { if (SelectedInstrument == null) { throw new InvalidOperationException("Instrument is not set."); } } } }