1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17
|
//------------------------------------------------------------
// Copyright (c) Microsoft Corporation. All rights reserved.
//------------------------------------------------------------
namespace System.ServiceModel
{
using System.ServiceModel.Channels;
static class WebHttpSecurityModeHelper
{
internal static bool IsDefined(WebHttpSecurityMode value)
{
return (value == WebHttpSecurityMode.None ||
value == WebHttpSecurityMode.Transport ||
value == WebHttpSecurityMode.TransportCredentialOnly);
}
}
}
|