Imported Upstream version 4.4.2.4

Former-commit-id: 92904c9c5915c37244316e42ba99e7b934ed7ee2
This commit is contained in:
Xamarin Public Jenkins (auto-signing)
2016-07-21 09:40:10 +00:00
parent 589d484eee
commit 0b4a830db1
343 changed files with 9849 additions and 688 deletions

View File

@ -61,12 +61,14 @@ namespace System.ServiceModel.Channels
return context.BuildInnerChannelFactory<TChannel> ();
}
#if !MOBILE && !XAMMAC_4_5
public override IChannelListener<TChannel>
BuildChannelListener<TChannel> (
BindingContext context)
{
return context.BuildInnerChannelListener<TChannel> ();
}
#endif
public override bool CanBuildChannelFactory<TChannel> (
BindingContext context)
@ -74,11 +76,13 @@ namespace System.ServiceModel.Channels
return context.CanBuildInnerChannelFactory<TChannel> ();
}
#if !MOBILE && !XAMMAC_4_5
public override bool CanBuildChannelListener<TChannel> (
BindingContext context)
{
return context.CanBuildInnerChannelListener<TChannel> ();
}
#endif
public override BindingElement Clone ()
{
@ -89,8 +93,10 @@ namespace System.ServiceModel.Channels
{
if (typeof (T) == typeof (ISecurityCapabilities))
return (T) (object) this;
#if !MOBILE && !XAMMAC_4_5
if (typeof (T) == typeof (IdentityVerifier))
return (T) (object) IdentityVerifier.CreateDefault ();
#endif
return null;
}
@ -120,6 +126,7 @@ namespace System.ServiceModel.Channels
get { throw new NotImplementedException (); }
}
#if !MOBILE && !XAMMAC_4_5
[MonoTODO]
void IPolicyExportExtension.ExportPolicy (
MetadataExporter exporter,
@ -141,6 +148,7 @@ namespace System.ServiceModel.Channels
element.AppendChild (protectionLevel);
return element;
}
#endif
#endregion
}
}