using NTwain.Internals; using System; namespace NTwain.Triplets { /// /// Base class for grouping triplet operations messages. /// public abstract class OpBase { /// /// Initializes a new instance of the class. /// /// The session. /// internal OpBase(ITwainStateInternal session) { if (session == null) { throw new ArgumentNullException("session"); } Session = session; } /// /// Gets the twain session. /// /// /// The session. /// internal ITwainStateInternal Session { get; private set; } } }