private Web.Contract.ITechnobabble GetChannel() {
            if (null == s_technobabble) {
                s_technobabble = factory.CreateChannel();
            }

            return s_technobabble;
        }
Example #2
0
 public Proxy() {
     var factory = new ChannelFactory<Web.Contract.ITechnobabble>("restendpointname");
     proxy = factory.CreateChannel();
 }