SupportedAddressingMode.cs 677 B

1234567891011121314151617181920212223
  1. //------------------------------------------------------------
  2. // Copyright (c) Microsoft Corporation. All rights reserved.
  3. //------------------------------------------------------------
  4. namespace System.ServiceModel.Channels
  5. {
  6. public enum SupportedAddressingMode
  7. {
  8. Anonymous,
  9. NonAnonymous,
  10. Mixed
  11. }
  12. static class SupportedAddressingModeHelper
  13. {
  14. internal static bool IsDefined(SupportedAddressingMode value)
  15. {
  16. return (value == SupportedAddressingMode.Anonymous ||
  17. value == SupportedAddressingMode.NonAnonymous ||
  18. value == SupportedAddressingMode.Mixed);
  19. }
  20. }
  21. }