Files
mono/mcs/class/System.ServiceModel.Routing/System.ServiceModel.Routing.Configuration/NamespaceElement.cs
T
Atsushi Eno 0e452537e7 2010-06-03 Atsushi Enomoto <[email protected]>
* BackupEndpointCollection.cs
	  BackupEndpointElement.cs
	  BackupListCollection.cs
	  FilterElement.cs
	  FilterElementCollection.cs
	  FilterTableEntryCollection.cs
	  FilterTableEntryElement.cs
	  NamespaceElement.cs
	  NamespaceElementCollection.cs
	  RoutingExtensionElement.cs
	  RoutingSection.cs
	  SoapProcessingExtensionElement.cs : implement to get working.


svn path=/trunk/mcs/; revision=158382
2010-06-03 06:32:09 +00:00

28 lines
934 B
C#

using System;
using System.Collections.Generic;
using System.Collections.ObjectModel;
using System.Configuration;
using System.ServiceModel;
using System.ServiceModel.Channels;
using System.ServiceModel.Configuration;
using System.ServiceModel.Description;
using System.ServiceModel.Dispatcher;
namespace System.ServiceModel.Routing.Configuration
{
public class NamespaceElement : ConfigurationElement
{
[ConfigurationProperty ("namespace", DefaultValue = null, Options = ConfigurationPropertyOptions.IsRequired)]
public string Namespace {
get { return (string) base ["namespace"]; }
set { base ["namespace"] = value; }
}
[ConfigurationProperty ("prefix", DefaultValue = null, Options = ConfigurationPropertyOptions.None | ConfigurationPropertyOptions.IsRequired | ConfigurationPropertyOptions.IsKey)]
public string Prefix {
get { return (string) base ["prefix"]; }
set { base ["prefix"] = value; }
}
}
}