diff options
author | 2016-04-25 16:00:34 -0700 | |
---|---|---|
committer | 2016-04-26 18:01:35 -0700 | |
commit | 7c0e1eec85d74c5b1c8d9565f0bc28194aebae4f (patch) | |
tree | 6ab7faa6bec4559b79cc3835022d1dc4f9672347 /src/csharp/Grpc.HealthCheck/HealthGrpc.cs | |
parent | 4e0f73cddbebdeae1cf96b9d63ec7af37396a665 (diff) |
regenerate code
Diffstat (limited to 'src/csharp/Grpc.HealthCheck/HealthGrpc.cs')
-rw-r--r-- | src/csharp/Grpc.HealthCheck/HealthGrpc.cs | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/src/csharp/Grpc.HealthCheck/HealthGrpc.cs b/src/csharp/Grpc.HealthCheck/HealthGrpc.cs index e7f779753d..e2cdabf011 100644 --- a/src/csharp/Grpc.HealthCheck/HealthGrpc.cs +++ b/src/csharp/Grpc.HealthCheck/HealthGrpc.cs @@ -97,6 +97,12 @@ namespace Grpc.Health.V1 { } } + // creates a new client + public static HealthClient NewClient(Channel channel) + { + return new HealthClient(channel); + } + // creates service definition that can be registered with a server #pragma warning disable 0618 public static ServerServiceDefinition BindService(IHealth serviceImpl) @@ -115,12 +121,6 @@ namespace Grpc.Health.V1 { .AddMethod(__Method_Check, serviceImpl.Check).Build(); } - // creates a new client - public static HealthClient NewClient(Channel channel) - { - return new HealthClient(channel); - } - } } #endregion |