Ejemplo n.º 1
0
		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
		}
Ejemplo n.º 2
0
        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
        }
Ejemplo n.º 3
0
 public ClientRealProxy(Type type, IInternalContextChannel channel, bool isDuplex) : base(type)
 {
     this.channel  = channel;
     this.isDuplex = isDuplex;
 }