File: System\ServiceModel\Web\WebMessageFormatHelper.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 WebMessageFormatHelper
    {
        internal static bool IsDefined(WebMessageFormat format)
        {
            return (format == WebMessageFormat.Xml || format == WebMessageFormat.Json);
        }
    }
}