25 lines
583 B
C#
25 lines
583 B
C#
|
//------------------------------------------------------------
|
||
|
// Copyright (c) Microsoft Corporation. All rights reserved.
|
||
|
//------------------------------------------------------------
|
||
|
|
||
|
namespace System.ServiceModel
|
||
|
{
|
||
|
public enum OperationFormatUse
|
||
|
{
|
||
|
Literal,
|
||
|
Encoded,
|
||
|
}
|
||
|
|
||
|
static class OperationFormatUseHelper
|
||
|
{
|
||
|
static public bool IsDefined(OperationFormatUse x)
|
||
|
{
|
||
|
return
|
||
|
x == OperationFormatUse.Literal ||
|
||
|
x == OperationFormatUse.Encoded ||
|
||
|
false;
|
||
|
}
|
||
|
}
|
||
|
|
||
|
}
|