File: System\ServiceModel\Web\WebMessageBodyStyleHelper.cs
Project: ndp\cdf\src\NetFx35\System.ServiceModel.Web\System.ServiceModel.Web.csproj (System.ServiceModel.Web)
//------------------------------------------------------------
// Copyright (c) Microsoft Corporation.  All rights reserved.
//------------------------------------------------------------
 
namespace System.ServiceModel.Web
{
    internal static class WebMessageBodyStyleHelper
    {
        internal static bool IsDefined(WebMessageBodyStyle style)
        {
            return (style == WebMessageBodyStyle.Bare
                || style == WebMessageBodyStyle.Wrapped
                || style == WebMessageBodyStyle.WrappedRequest
                || style == WebMessageBodyStyle.WrappedResponse);
        }
    }
}