You've already forked linux-packaging-mono
Imported Upstream version 4.4.2.4
Former-commit-id: 92904c9c5915c37244316e42ba99e7b934ed7ee2
This commit is contained in:
parent
589d484eee
commit
0b4a830db1
@ -31,7 +31,9 @@ using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Net;
|
||||
using System.ServiceModel.Channels;
|
||||
#if !MOBILE && !XAMMAC_4_5
|
||||
using System.ServiceModel.Channels.NetTcp;
|
||||
#endif
|
||||
using System.ServiceModel.Description;
|
||||
|
||||
namespace System.ServiceModel.Channels
|
||||
@ -88,9 +90,15 @@ namespace System.ServiceModel.Channels
|
||||
{
|
||||
if (!CanBuildChannelFactory<TChannel> (context))
|
||||
throw new InvalidOperationException (String.Format ("Not supported channel factory type '{0}'", typeof (TChannel)));
|
||||
|
||||
#if !MOBILE && !XAMMAC_4_5
|
||||
return new TcpChannelFactory<TChannel> (this, context);
|
||||
#else
|
||||
throw new NotImplementedException ();
|
||||
#endif
|
||||
}
|
||||
|
||||
#if !MOBILE && !XAMMAC_4_5
|
||||
public override IChannelListener<TChannel>
|
||||
BuildChannelListener<TChannel> (
|
||||
BindingContext context)
|
||||
@ -99,6 +107,7 @@ namespace System.ServiceModel.Channels
|
||||
throw new InvalidOperationException (String.Format ("Not supported channel listener type '{0}'", typeof (TChannel)));
|
||||
return new TcpChannelListener<TChannel> (this, context);
|
||||
}
|
||||
#endif
|
||||
|
||||
public override BindingElement Clone ()
|
||||
{
|
||||
|
Reference in New Issue
Block a user