Files
mono/mcs/class/System.ServiceModel.Routing/System.ServiceModel.Routing.Configuration/SoapProcessingExtensionElement.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

31 lines
907 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 SoapProcessingExtensionElement : BehaviorExtensionElement
{
public override Type BehaviorType {
get { return typeof (SoapProcessingBehavior); }
}
[ConfigurationProperty ("processMessages", DefaultValue = true, Options = ConfigurationPropertyOptions.None)]
public bool ProcessMessages {
get { return (bool) base ["processMessages"]; }
set { base ["processMessages"] = value; }
}
protected override object CreateBehavior ()
{
return new SoapProcessingBehavior () { ProcessMessages = this.ProcessMessages };
}
}
}