//--------------------------------------------------------------
    #region Creation and Cleanup
    //--------------------------------------------------------------

    /// <summary>
    /// Initializes a new instance of the <see cref="SnippetCompletionData"/> class.
    /// </summary>
    /// <param name="snippet">The snippet.</param>
    /// <param name="imageIndex">Index of the image in the <see cref="ImageList"/> of the 
    /// <see cref="CompletionWindow"/>.</param>
    public SnippetCompletionData(Snippet snippet, int imageIndex)
    {
      _snippet = snippet;
      _imageIndex = imageIndex;
    }
Exemple #2
0
        //--------------------------------------------------------------
        #region Creation and Cleanup
        //--------------------------------------------------------------

        /// <summary>
        /// Initializes a new instance of the <see cref="SnippetCompletionData"/> class.
        /// </summary>
        /// <param name="snippet">The snippet.</param>
        /// <param name="imageIndex">Index of the image in the <see cref="ImageList"/> of the
        /// <see cref="CompletionWindow"/>.</param>
        public SnippetCompletionData(Snippet snippet, int imageIndex)
        {
            _snippet    = snippet;
            _imageIndex = imageIndex;
        }