1 //------------------------------------------------------------
2 // Copyright (c) Microsoft Corporation.  All rights reserved.
3 //------------------------------------------------------------
4 
5 namespace System.ServiceModel.Channels
6 {
7     using System;
8 
9     static class ContextExchangeMechanismHelper
10     {
IsDefined(ContextExchangeMechanism value)11         public static bool IsDefined(ContextExchangeMechanism value)
12         {
13             return value == ContextExchangeMechanism.ContextSoapHeader ||
14                 value == ContextExchangeMechanism.HttpCookie;
15         }
16     }
17 }
18