// OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
// WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
//
-using System;
-using System.ServiceModel;
+
+#if !HAS_ACTIVATION
namespace System.ServiceModel.Activation
{
+#if NET_4_0
+ [System.Runtime.CompilerServices.TypeForwardedFrom (Consts.AssemblySystemServiceModel_3_0)]
+#endif
public class ServiceHostFactory : ServiceHostFactoryBase
{
[MonoTODO]
}
[MonoTODO ("untested")]
- protected internal virtual ServiceHost CreateServiceHost (
+ protected virtual ServiceHost CreateServiceHost (
Type serviceType, Uri [] baseAddresses)
{
return new ServiceHost (serviceType, baseAddresses);
}
}
}
+
+#endif
\ No newline at end of file