The Labs \ Source Viewer \ SSCLI \ System.Diagnostics.SymbolStore \ ISymbolDocumentWriter

  1. // ==++==
  2. //
  3. //
  4. // Copyright (c) 2006 Microsoft Corporation. All rights reserved.
  5. //
  6. // The use and distribution terms for this software are contained in the file
  7. // named license.txt, which can be found in the root of this distribution.
  8. // By using this software in any fashion, you are agreeing to be bound by the
  9. // terms of this license.
  10. //
  11. // You must not remove this notice, or any other, from this software.
  12. //
  13. //
  14. // ==--==
  15. /*============================================================
  16. **
  17. ** Class:  ISymbolDocumentWriter
  18. **
  19. **
  20. ** Represents a document referenced by a symbol store. A document is
  21. ** defined by a URL and a document type GUID. Document source can
  22. ** optionally be stored in the symbol store.
  23. **
  24. **
  25. ===========================================================*/
  26. namespace System.Diagnostics.SymbolStore
  27. {
  28.    
  29.     using System;
  30.    
  31.     // Interface does not need to be marked with the serializable attribute
  32.     [System.Runtime.InteropServices.ComVisible(true)]
  33.     public interface ISymbolDocumentWriter
  34.     {
  35.         // SetSource will store the raw source for a document into the
  36.         // symbol store. An array of unsigned bytes is used instead of
  37.         // character data to accomidate a wider variety of "source".
  38.         void SetSource(byte[] source);
  39.        
  40.         // Check sum support.
  41.         void SetCheckSum(Guid algorithmId, byte[] checkSum);
  42.     }
  43. }

Developer Fusion