2 using System
.Collections
.Generic
;
3 using System
.Collections
.ObjectModel
;
4 using System
.Configuration
;
5 using System
.ServiceModel
;
6 using System
.ServiceModel
.Channels
;
7 using System
.ServiceModel
.Configuration
;
8 using System
.ServiceModel
.Description
;
9 using System
.ServiceModel
.Dispatcher
;
11 namespace System
.ServiceModel
.Routing
.Configuration
13 public class FilterElement
: ConfigurationElement
15 [ConfigurationProperty ("customType", DefaultValue
= null, Options
= ConfigurationPropertyOptions
.None
)]
16 public string CustomType
{
17 get { return (string) base ["customType"]; }
18 set { base ["customType"] = value; }
21 [ConfigurationProperty ("filter1", DefaultValue
= null, Options
= ConfigurationPropertyOptions
.None
)]
22 public string Filter1
{
23 get { return (string) base ["filter1"]; }
24 set { base ["filter1"] = value; }
27 [ConfigurationProperty ("filter2", DefaultValue
= null, Options
= ConfigurationPropertyOptions
.None
)]
28 public string Filter2
{
29 get { return (string) base ["filter2"]; }
30 set { base ["filter2"] = value; }
33 [ConfigurationProperty ("filterData", DefaultValue
= null, Options
= ConfigurationPropertyOptions
.None
)]
34 public string FilterData
{
35 get { return (string) base ["filterData"]; }
36 set { base ["filterData"] = value; }
39 [ConfigurationProperty ("filterType", DefaultValue
= null, Options
= ConfigurationPropertyOptions
.IsRequired
)]
40 public FilterType FilterType
{
41 get { return (FilterType) base ["filterType"]; }
42 set { base ["filterType"] = value; }
45 [ConfigurationProperty ("name", DefaultValue
= null, Options
= ConfigurationPropertyOptions
.None
| ConfigurationPropertyOptions
.IsRequired
| ConfigurationPropertyOptions
.IsKey
)]
47 get { return (string) base ["name"]; }
48 set { base ["name"] = value; }