MexBindingElement.cs 940 B

12345678910111213141516171819202122232425262728293031
  1. //------------------------------------------------------------------------------
  2. // Copyright (c) Microsoft Corporation. All rights reserved.
  3. //------------------------------------------------------------------------------
  4. namespace System.ServiceModel.Configuration
  5. {
  6. using System.Configuration;
  7. using System.ServiceModel;
  8. using System.Globalization;
  9. using System.ServiceModel.Security;
  10. using System.Text;
  11. using System.ComponentModel;
  12. using System.ServiceModel.Channels;
  13. public abstract class MexBindingElement<TStandardBinding> : StandardBindingElement
  14. where TStandardBinding : Binding
  15. {
  16. protected MexBindingElement(string name)
  17. : base(name)
  18. {
  19. }
  20. protected override Type BindingElementType
  21. {
  22. get { return typeof(TStandardBinding); }
  23. }
  24. protected override void OnApplyConfiguration(Binding binding) { }
  25. }
  26. }