OperationFormatUse.cs 583 B

123456789101112131415161718192021222324
  1. //------------------------------------------------------------
  2. // Copyright (c) Microsoft Corporation. All rights reserved.
  3. //------------------------------------------------------------
  4. namespace System.ServiceModel
  5. {
  6. public enum OperationFormatUse
  7. {
  8. Literal,
  9. Encoded,
  10. }
  11. static class OperationFormatUseHelper
  12. {
  13. static public bool IsDefined(OperationFormatUse x)
  14. {
  15. return
  16. x == OperationFormatUse.Literal ||
  17. x == OperationFormatUse.Encoded ||
  18. false;
  19. }
  20. }
  21. }