Smrf.NodeXL.ExcelTemplate.ImportDataUserSettings.AssertValid C# (CSharp) Method

AssertValid() public method

public AssertValid ( ) : void
return void
    AssertValid()
    {
        base.AssertValid();

        // (Do nothing else.)
    }

Usage Example

コード例 #1
0
        //*************************************************************************
        //  Constructor: ImportDataUserSettingsDialog()
        //
        /// <summary>
        /// Initializes a new instance of the <see
        /// cref="ImportDataUserSettingsDialog" /> class.
        /// </summary>
        ///
        /// <param name="importDataUserSettings">
        /// The object being edited.
        /// </param>
        ///
        /// <param name="plugInUserSettings">
        /// The object being edited.
        /// </param>
        ///
        /// <param name="thisWorkbook">
        /// Workbook containing the graph contents.
        /// </param>
        //*************************************************************************

        public ImportDataUserSettingsDialog
        (
            ImportDataUserSettings importDataUserSettings,
            PlugInUserSettings plugInUserSettings,
            ThisWorkbook thisWorkbook
        )
        {
            Debug.Assert(importDataUserSettings != null);
            importDataUserSettings.AssertValid();
            Debug.Assert(thisWorkbook != null);

            m_oImportDataUserSettings = importDataUserSettings;
            m_oPlugInUserSettings     = plugInUserSettings;
            m_oThisWorkbook           = thisWorkbook;

            // Instantiate an object that saves and retrieves the position of this
            // dialog.  Note that the object automatically saves the settings when
            // the form closes.

            m_oImportDataUserSettingsDialogUserSettings =
                new ImportDataUserSettingsDialogUserSettings(this);

            InitializeComponent();
            DoDataExchange(false);

            AssertValid();
        }
All Usage Examples Of Smrf.NodeXL.ExcelTemplate.ImportDataUserSettings::AssertValid