using System; using System.Collections.Generic; using System.Linq; using System.Text; using NTwain.Values; namespace NTwain.Triplets { /// /// Base class for grouping triplet operations messages. /// public abstract class OpBase { TwainSession _session; /// /// Initializes a new instance of the class. /// /// The session. /// protected OpBase(TwainSession session) { if (session == null) { throw new ArgumentNullException("session"); } _session = session; } /// /// Gets the twain session. /// /// /// The session. /// protected TwainSession Session { get { return _session; } } } }