File: System\ServiceModel\Configuration\WebEncodingValidatorAttribute.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.Configuration
{
    using System;
    using System.Configuration;
 
    [AttributeUsage(AttributeTargets.Property)]
    sealed class WebEncodingValidatorAttribute : ConfigurationValidatorAttribute
    {
        public WebEncodingValidatorAttribute()
        {
        }
 
        public override ConfigurationValidatorBase ValidatorInstance
        {
            get { return new WebEncodingValidator(); }
        }
    }
}