e79aa3c0ed
Former-commit-id: a2155e9bd80020e49e72e86c44da02a8ac0e57a4
34 lines
1.1 KiB
C#
34 lines
1.1 KiB
C#
//----------------------------------------------------------------
|
|
// Copyright (c) Microsoft Corporation. All rights reserved.
|
|
//----------------------------------------------------------------
|
|
|
|
namespace System.ServiceModel.Discovery
|
|
{
|
|
using System.ServiceModel.Channels;
|
|
|
|
class DiscoveryClientDuplexSessionChannel : DiscoveryClientDuplexChannel<IDuplexSessionChannel>, IDuplexSessionChannel
|
|
{
|
|
public DiscoveryClientDuplexSessionChannel(
|
|
ChannelManagerBase channelManagerBase,
|
|
IChannelFactory<IDuplexSessionChannel> innerChannelFactory,
|
|
FindCriteria findCriteria,
|
|
DiscoveryEndpointProvider discoveryEndpointProvider)
|
|
: base(channelManagerBase, innerChannelFactory, findCriteria, discoveryEndpointProvider)
|
|
{
|
|
}
|
|
|
|
public IDuplexSession Session
|
|
{
|
|
get
|
|
{
|
|
if (this.InnerChannel == null)
|
|
{
|
|
return null;
|
|
}
|
|
|
|
return this.InnerChannel.Session;
|
|
}
|
|
}
|
|
}
|
|
}
|