Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mono/mono.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarek Safar <marek.safar@gmail.com>2018-02-15 02:55:45 +0300
committerAlexander Köplinger <alex.koeplinger@outlook.com>2018-02-15 02:55:45 +0300
commit62bf8bd4d5286c39cefca09e07c3c355b7dcdcb5 (patch)
tree495ae0093fd529fd351b9d9547c2773e829b9da6 /mcs/class/System.ServiceModel.Activation
parent8ad191dfbb238a139478e39154e12fcc86bdadac (diff)
[System.ServiceModel.Activation] Move ServiceHostFactory.cs where it's used (#7044)
Diffstat (limited to 'mcs/class/System.ServiceModel.Activation')
-rw-r--r--mcs/class/System.ServiceModel.Activation/System.ServiceModel.Activation.dll.sources2
-rw-r--r--mcs/class/System.ServiceModel.Activation/System.ServiceModel.Activation/ServiceHostFactory.cs48
2 files changed, 49 insertions, 1 deletions
diff --git a/mcs/class/System.ServiceModel.Activation/System.ServiceModel.Activation.dll.sources b/mcs/class/System.ServiceModel.Activation/System.ServiceModel.Activation.dll.sources
index 2399d041586..c62e7509bfe 100644
--- a/mcs/class/System.ServiceModel.Activation/System.ServiceModel.Activation.dll.sources
+++ b/mcs/class/System.ServiceModel.Activation/System.ServiceModel.Activation.dll.sources
@@ -3,4 +3,4 @@
Assembly/AssemblyInfo.cs
System.ServiceModel/ServiceHostingEnvironment.cs
-../System.ServiceModel/System.ServiceModel.Activation/ServiceHostFactory.cs
+System.ServiceModel.Activation/ServiceHostFactory.cs
diff --git a/mcs/class/System.ServiceModel.Activation/System.ServiceModel.Activation/ServiceHostFactory.cs b/mcs/class/System.ServiceModel.Activation/System.ServiceModel.Activation/ServiceHostFactory.cs
new file mode 100644
index 00000000000..1c0b4f4701b
--- /dev/null
+++ b/mcs/class/System.ServiceModel.Activation/System.ServiceModel.Activation/ServiceHostFactory.cs
@@ -0,0 +1,48 @@
+//
+// ServiceHostFactory.cs
+//
+// Author:
+// Atsushi Enomoto <atsushi@ximian.com>
+//
+// Copyright (C) 2006 Novell, Inc. http://www.novell.com
+//
+// Permission is hereby granted, free of charge, to any person obtaining
+// a copy of this software and associated documentation files (the
+// "Software"), to deal in the Software without restriction, including
+// without limitation the rights to use, copy, modify, merge, publish,
+// distribute, sublicense, and/or sell copies of the Software, and to
+// permit persons to whom the Software is furnished to do so, subject to
+// the following conditions:
+//
+// The above copyright notice and this permission notice shall be
+// included in all copies or substantial portions of the Software.
+//
+// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
+// EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
+// MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
+// NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
+// LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
+// OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
+// WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
+//
+
+namespace System.ServiceModel.Activation
+{
+ [System.Runtime.CompilerServices.TypeForwardedFrom (Consts.AssemblySystemServiceModel_3_0)]
+ public class ServiceHostFactory : ServiceHostFactoryBase
+ {
+ [MonoTODO]
+ public override ServiceHostBase CreateServiceHost (
+ string constructorString, Uri [] baseAddresses)
+ {
+ throw new NotImplementedException ();
+ }
+
+ [MonoTODO ("untested")]
+ protected virtual ServiceHost CreateServiceHost (
+ Type serviceType, Uri [] baseAddresses)
+ {
+ return new ServiceHost (serviceType, baseAddresses);
+ }
+ }
+}