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