aboutsummaryrefslogtreecommitdiffhomepage
path: root/examples/csharp/route_guide
diff options
context:
space:
mode:
authorGravatar Jan Tattermusch <jtattermusch@google.com>2016-06-22 12:47:14 -0700
committerGravatar Jan Tattermusch <jtattermusch@google.com>2016-06-22 17:18:47 -0700
commitf41ebc3968ef06439d6d1468256ac5000940ea8f (patch)
treebd1b586d2e0991a3e92681bd9a66452d7101529e /examples/csharp/route_guide
parentedfebc909a7e4a2ada5e07d2012a227fb15d4064 (diff)
remove occurences of NewClient factory method
Diffstat (limited to 'examples/csharp/route_guide')
-rw-r--r--examples/csharp/route_guide/RouteGuideClient/Program.cs2
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/csharp/route_guide/RouteGuideClient/Program.cs b/examples/csharp/route_guide/RouteGuideClient/Program.cs
index ee51fbe8e0..8a173dcc3b 100644
--- a/examples/csharp/route_guide/RouteGuideClient/Program.cs
+++ b/examples/csharp/route_guide/RouteGuideClient/Program.cs
@@ -231,7 +231,7 @@ namespace Routeguide
static void Main(string[] args)
{
var channel = new Channel("127.0.0.1:50052", ChannelCredentials.Insecure);
- var client = new RouteGuideClient(RouteGuide.NewClient(channel));
+ var client = new RouteGuideClient(new RouteGuide.RouteGuideClient(channel));
// Looking for a valid feature
client.GetFeature(409146138, -746188906);