/// <summary>
        /// Generates a subclass of the specified ChannelActionWrapperType and the ChannelType.
        /// </summary>
        protected virtual void GenerateProxy()
        {
            Type baseClass            = BuildChannelActionWrapperType();
            IProxyTypeBuilder builder = new WcfChannelProxyTypeBuilder(baseClass);
            Type wrapper = builder.BuildProxyType();

            proxyConstructor = wrapper.GetConstructor(Type.EmptyTypes);
        }
 /// <summary>
 /// Generates a subclass of the specified ChannelActionWrapperType and the ChannelType.
 /// </summary>
 protected virtual void GenerateProxy()
 {
     Type baseClass = BuildChannelActionWrapperType();
     IProxyTypeBuilder builder = new WcfChannelProxyTypeBuilder(baseClass);
     Type wrapper = builder.BuildProxyType();
     proxyConstructor = wrapper.GetConstructor(Type.EmptyTypes);
 }