2
0

ClientTargetSectionHandler.cs 874 B

1234567891011121314151617181920212223242526272829303132333435363738394041424344
  1. /* System.Web.Configuration
  2. * Authors:
  3. * Leen Toelen ([email protected])
  4. * Copyright (C) 2001 Leen Toelen
  5. */
  6. using System;
  7. using System.Configuration;
  8. namespace System.Web.Configuration
  9. {
  10. /// <summary>
  11. /// Summary description for ClientTargetSectionHandler.
  12. /// </summary>
  13. class ClientTargetSectionHandler: NameValueSectionHandler
  14. {
  15. /// <summary>
  16. /// ClientTargetSectionHandler Constructor
  17. /// </summary>
  18. public ClientTargetSectionHandler(){}
  19. /// <summary>
  20. /// Gets the name of the key in the key-value pair.
  21. /// </summary>
  22. protected override string KeyAttributeName
  23. {
  24. get
  25. {
  26. return "alias";
  27. }
  28. }
  29. /// <summary>
  30. /// Gets the value for the key in the key-value pair.
  31. /// </summary>
  32. protected override string ValueAttributeName
  33. {
  34. get
  35. {
  36. return "userAgent";
  37. }
  38. }
  39. }
  40. } //namespace System.Web.Configuration