コード例 #1
0
        ////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
        ////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
        ////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////

        #region IDebugDocumentContext2 Members

        ////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
        ////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
        ////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////

        public int Compare(enum_DOCCONTEXT_COMPARE compare, IDebugDocumentContext2 [] documentContexts, uint documentContextsLength, out uint matchIndex)
        {
            //
            // Compares this document context to a given array of document contexts.
            // Returns via 'matchIndex' the index into the 'documentContexts' array of the first document context that satisfies the comparison.
            //

            LoggingUtils.PrintFunction();

            try
            {
                matchIndex = 0;

                throw new NotImplementedException();

                return(Constants.S_OK);
            }
            catch (NotImplementedException e)
            {
                LoggingUtils.HandleException(e);

                matchIndex = 0;

                return(Constants.E_NOTIMPL);
            }
            catch (Exception e)
            {
                LoggingUtils.HandleException(e);

                matchIndex = 0;

                return(Constants.E_FAIL);
            }
        }
コード例 #2
0
        // Compares this document context to a given array of document contexts.
        int IDebugDocumentContext2.Compare(enum_DOCCONTEXT_COMPARE Compare, IDebugDocumentContext2[] rgpDocContextSet, uint dwDocContextSetLen, out uint pdwDocContext)
        {
            dwDocContextSetLen = 0;
            pdwDocContext      = 0;

            return(Constants.E_NOTIMPL);
        }
コード例 #3
0
        // Compares this document context to a given array of document contexts.
        int IDebugDocumentContext2.Compare(enum_DOCCONTEXT_COMPARE Compare, IDebugDocumentContext2[] rgpDocContextSet, uint dwDocContextSetLen, out uint pdwDocContext)
        {
            dwDocContextSetLen = 0;
            pdwDocContext = 0;

            return Constants.E_NOTIMPL;
        }
コード例 #4
0
 /// <summary>
 ///     Compares this document context to a given array of document contexts.
 /// </summary>
 /// <param name="compare">The compare.</param>
 /// <param name="rgpDocContextSet">The document context.</param>
 /// <param name="dwDocContextSetLen">Length of the dw document context.</param>
 /// <param name="pdwDocContext">The document context.</param>
 /// <returns>If successful, returns S_OK; otherwise, returns an error code.</returns>
 public int Compare(enum_DOCCONTEXT_COMPARE compare, IDebugDocumentContext2[] rgpDocContextSet,
                    uint dwDocContextSetLen,
                    out uint pdwDocContext)
 {
     pdwDocContext = 0;
     return(E_NOTIMPL);
 }
コード例 #5
0
 public int Compare(enum_DOCCONTEXT_COMPARE comparisonType,
                    IDebugDocumentContext2[] documentContexts, uint numDocumentContexts,
                    out uint matchIndex)
 {
     matchIndex = 0;
     return(VSConstants.E_NOTIMPL);
 }
コード例 #6
0
 /// <summary>
 /// Compares this document context to a given array of document contexts.
 /// </summary>
 /// <param name="Compare">A value from the DOCCONTEXT_COMPARE enumeration that specifies the type of comparison.</param>
 /// <param name="rgpDocContextSet">An array of IDebugDocumentContext2 objects that represent the document contexts being compared to.</param>
 /// <param name="dwDocContextSetLen">The length of the array of document contexts to compare.</param>
 /// <param name="pdwDocContext">Returns the index into the rgpDocContextSet array of the first document context that satisfies the comparison.</param>
 /// <returns>Returns S_OK if a match was found. Returns S_FALSE if no match was found. Otherwise, returns an error code.</returns>
 /// <remarks>
 /// The IDebugDocumentContext2 objects that are passed in the array must be implemented by the same debug engine that implements the IDebugDocumentContext2 object being called on; otherwise, the comparison is not valid.
 /// </remarks>
 public virtual int Compare(enum_DOCCONTEXT_COMPARE Compare,
                            IDebugDocumentContext2[] rgpDocContextSet,
                            uint dwDocContextSetLen,
                            out uint pdwDocContext)
 {
     Logger.Debug(string.Empty);
     pdwDocContext = 0;
     return(VSConstants.E_NOTIMPL);
 }
コード例 #7
0
 public int Compare(enum_DOCCONTEXT_COMPARE Compare, IDebugDocumentContext2[] rgpDocContextSet, uint dwDocContextSetLen, out uint pdwDocContext)
 {
     throw new NotImplementedException();
 }
コード例 #8
0
 public int Compare(enum_DOCCONTEXT_COMPARE Compare, IDebugDocumentContext2[] rgpDocContextSet, uint dwDocContextSetLen, out uint pdwDocContext)
 {
     throw new NotImplementedException();
 }
コード例 #9
0
 /// <summary>
 /// Compares this document context to a given array of document contexts.
 /// </summary>
 /// <param name="Compare">A value from the DOCCONTEXT_COMPARE enumeration that specifies the type of comparison.</param>
 /// <param name="rgpDocContextSet">An array of IDebugDocumentContext2 objects that represent the document contexts being compared to.</param>
 /// <param name="dwDocContextSetLen">The length of the array of document contexts to compare.</param>
 /// <param name="pdwDocContext">Returns the index into the rgpDocContextSet array of the first document context that satisfies the comparison.</param>
 /// <returns>Returns S_OK if a match was found. Returns S_FALSE if no match was found. Otherwise, returns an error code.</returns>
 /// <remarks>
 /// The IDebugDocumentContext2 objects that are passed in the array must be implemented by the same debug engine that implements the IDebugDocumentContext2 object being called on; otherwise, the comparison is not valid.
 /// </remarks>
 public virtual int Compare( enum_DOCCONTEXT_COMPARE Compare,
     IDebugDocumentContext2[] rgpDocContextSet,
     uint dwDocContextSetLen,
     out uint pdwDocContext)
 {
     Logger.Debug( string.Empty );
     pdwDocContext = 0;
     return VSConstants.E_NOTIMPL;
 }
コード例 #10
0
 // Token: 0x06000042 RID: 66 RVA: 0x00002FD5 File Offset: 0x000011D5
 int IDebugDocumentContext2.Compare(enum_DOCCONTEXT_COMPARE Compare, IDebugDocumentContext2[] rgpDocContextSet, uint dwDocContextSetLen, out uint pdwDocContext)
 {
     pdwDocContext = 0U;
     return(-2147467263);
 }
コード例 #11
0
 public int Compare(enum_DOCCONTEXT_COMPARE Compare, IDebugDocumentContext2[] rgpDocContextSet, uint dwDocContextSetLen, out uint pdwDocContext)
 {
     Log.Debug("ScriptDocumentContext: Compare");
     pdwDocContext = 0;
     return(VSConstants.E_NOTIMPL);
 }
コード例 #12
0
 int IDebugDocumentContext2.Compare(enum_DOCCONTEXT_COMPARE Compare, IDebugDocumentContext2[] rgpDocContextSet, uint dwDocContextSetLen, out uint pdwDocContext)
 {
     Debug.WriteLine("AD7DocumentContext: Compare");
     throw new NotImplementedException();
 }
コード例 #13
0
    ////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
    ////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
    ////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////

    #region IDebugDocumentContext2 Members

    ////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
    ////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
    ////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////

    public int Compare (enum_DOCCONTEXT_COMPARE compare, IDebugDocumentContext2 [] documentContexts, uint documentContextsLength, out uint matchIndex)
    {
      // 
      // Compares this document context to a given array of document contexts.
      // Returns via 'matchIndex' the index into the 'documentContexts' array of the first document context that satisfies the comparison.
      // 

      LoggingUtils.PrintFunction ();

      try
      {
        matchIndex = 0;

        throw new NotImplementedException ();

        return Constants.S_OK;
      }
      catch (NotImplementedException e)
      {
        LoggingUtils.HandleException (e);

        matchIndex = 0;

        return Constants.E_NOTIMPL;
      }
      catch (Exception e)
      {
        LoggingUtils.HandleException (e);

        matchIndex = 0;

        return Constants.E_FAIL;
      }
    }
コード例 #14
0
 public int Compare(enum_DOCCONTEXT_COMPARE Compare, IDebugDocumentContext2[] rgpDocContextSet, uint dwDocContextSetLen, out uint pdwDocContext)
 {
     Log.Debug("ScriptDocumentContext: Compare");
     pdwDocContext = 0;
     return VSConstants.E_NOTIMPL;
 }
コード例 #15
0
 int IDebugDocumentContext2.Compare(enum_DOCCONTEXT_COMPARE Compare, IDebugDocumentContext2[] rgpDocContextSet, uint dwDocContextSetLen, out uint pdwDocContext)
 {
   Debug.WriteLine("AD7DocumentContext: Compare");
   throw new NotImplementedException();
 }