HttpMessageHandlerFactoryValidatorAttribute.cs 549 B

123456789101112131415161718192021
  1. // <copyright>
  2. // Copyright (c) Microsoft Corporation. All rights reserved.
  3. // </copyright>
  4. namespace System.ServiceModel.Configuration
  5. {
  6. using System;
  7. using System.Configuration;
  8. [AttributeUsage(AttributeTargets.Property)]
  9. sealed class HttpMessageHandlerFactoryValidatorAttribute : ConfigurationValidatorAttribute
  10. {
  11. public override ConfigurationValidatorBase ValidatorInstance
  12. {
  13. get
  14. {
  15. return new HttpMessageHandlerFactoryValidator();
  16. }
  17. }
  18. }
  19. }