The Labs \ Source Viewer \ SSCLI \ System.Runtime.Serialization.Formatters \ TypeFilterLevel

  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: FormatterEnums
  18. **
  19. **
  20. ** Purpose: Soap XML Formatter Enums
  21. **
  22. **
  23. ===========================================================*/
  24. namespace System.Runtime.Serialization.Formatters
  25. {
  26.     using System.Threading;
  27.     using System.Runtime.Remoting;
  28.     using System.Runtime.Serialization;
  29.     using System;
  30.     // Enums which specify options to the XML and Binary formatters
  31.     // These will be public so that applications can use them
  32.     [Serializable()]
  33.     [System.Runtime.InteropServices.ComVisible(true)]
  34.     public enum FormatterTypeStyle
  35.     {
  36.         TypesWhenNeeded = 0,
  37.         // Types are outputted only for Arrays of Objects, Object Members of type Object, and ISerializable non-primitive value types
  38.         TypesAlways = 1,
  39.         // Types are outputted for all Object members and ISerialiable object members.
  40.         XsdString = 2
  41.         // Strings are outputed as xsd rather then SOAP-ENC strings. No string ID's are transmitted
  42.     }
  43.    
  44.     [Serializable()]
  45.     [System.Runtime.InteropServices.ComVisible(true)]
  46.     public enum FormatterAssemblyStyle
  47.     {
  48.         Simple = 0,
  49.         Full = 1
  50.     }
  51.    
  52.     [System.Runtime.InteropServices.ComVisible(true)]
  53.     public enum TypeFilterLevel
  54.     {
  55.         Low = 2,
  56.         Full = 3
  57.     }
  58. }

Developer Fusion