* ServiceHostBase.cs : do not arbitrarily add ServiceDebugBehavior
on all configuration-based services. .NET doesn't do that.
svn path=/trunk/mcs/; revision=157485
+2010-05-18 Atsushi Enomoto <atsushi@ximian.com>
+
+ * ServiceHostBase.cs : do not arbitrarily add ServiceDebugBehavior
+ on all configuration-based services. .NET doesn't do that.
+
2010-04-23 Atsushi Enomoto <atsushi@ximian.com>
* ServiceHostBase.cs:
Authorization = new ServiceAuthorizationBehavior ();
Description.Behaviors.Add (Authorization);
}
-
- // ensure ServiceDebugBehavior
- ServiceDebugBehavior debugBehavior = Description.Behaviors.Find<ServiceDebugBehavior> ();
- if (debugBehavior == null) {
- debugBehavior = new ServiceDebugBehavior ();
- Description.Behaviors.Add (debugBehavior);
- }
}
private ServiceElement GetServiceElement() {