public ClientRealProxy (Type type, IInternalContextChannel channel, bool isDuplex) : base (type) { this.channel = channel; #if NET_2_1 context_channel_type = typeof (IClientChannel); #else context_channel_type = isDuplex ? typeof (IDuplexContextChannel) : typeof (IClientChannel); #endif }
public ClientRealProxy(Type type, IInternalContextChannel channel, bool isDuplex) : base(type) { this.channel = channel; #if NET_2_1 context_channel_type = typeof(IClientChannel); #else context_channel_type = isDuplex ? typeof(IDuplexContextChannel) : typeof(IClientChannel); #endif }
public ClientRealProxy(Type type, IInternalContextChannel channel, bool isDuplex) : base(type) { this.channel = channel; this.isDuplex = isDuplex; }