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

AssertValid() public method

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

        // (Do nothing else.)
    }

Usage Example

    //*************************************************************************
    //  Constructor: VertexGridSnapperUserSettingsDialog()
    //
    /// <summary>
    /// Initializes a new instance of the <see
    /// cref="VertexGridSnapperUserSettingsDialog" /> class.
    /// </summary>
    ///
    /// <param name="vertexGridSnapperUserSettings">
    /// The object being edited.
    /// </param>
    //*************************************************************************

    public VertexGridSnapperUserSettingsDialog
    (
        VertexGridSnapperUserSettings vertexGridSnapperUserSettings
    )
    {
        Debug.Assert(vertexGridSnapperUserSettings != null);
        vertexGridSnapperUserSettings.AssertValid();

        m_oVertexGridSnapperUserSettings = vertexGridSnapperUserSettings;

        // 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_oVertexGridSnapperUserSettingsDialogUserSettings =
            new VertexGridSnapperUserSettingsDialogUserSettings(this);

        InitializeComponent();
        DoDataExchange(false);

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