Пример #1
0
        //*************************************************************************
        //  Constructor: SheetHelper()
        //
        /// <summary>
        /// Initializes a new instance of the <see cref="SheetHelper" /> class.
        /// </summary>
        ///
        /// <param name="worksheet">
        /// The worksheet that owns this object.
        /// </param>
        ///
        /// <param name="table">
        /// The NodeXL table in the worksheet.
        /// </param>
        //*************************************************************************

        public SheetHelper
        (
            Microsoft.Office.Tools.Excel.WorksheetBase worksheet,
            Microsoft.Office.Tools.Excel.ListObject table
        )
        {
            m_oWorksheet = worksheet;
            m_oTable     = table;

            // AssertValid();
        }
Пример #2
0
        //*************************************************************************
        //  Constructor: Sheets1And2Helper()
        //
        /// <summary>
        /// Initializes a new instance of the <see cref="Sheets1And2Helper" />
        /// class.
        /// </summary>
        ///
        /// <param name="worksheet">
        /// The worksheet that owns this object.
        /// </param>
        ///
        /// <param name="table">
        /// The edge or vertex table.
        /// </param>
        //*************************************************************************

        public Sheets1And2Helper
        (
            Microsoft.Office.Tools.Excel.WorksheetBase worksheet,
            Microsoft.Office.Tools.Excel.ListObject table
        )
            : base(worksheet, table)
        {
            // (Do nothing.)

            AssertValid();
        }