diff options
author | 2015-03-06 10:11:50 -0800 | |
---|---|---|
committer | 2015-03-06 10:11:50 -0800 | |
commit | 13cd1256afdccb7cd555324ba8889d635ae4e45d (patch) | |
tree | c3071de8951a491abbd05419aaaf6b65abc9430f /src/csharp/Grpc.Examples.MathClient/MathClient.cs | |
parent | 49fd7fe13f943ba7e7a45e6f79cb5101ac638066 (diff) |
Used StyleCop to get rid of tabs in the source code
Diffstat (limited to 'src/csharp/Grpc.Examples.MathClient/MathClient.cs')
-rw-r--r-- | src/csharp/Grpc.Examples.MathClient/MathClient.cs | 27 |
1 files changed, 12 insertions, 15 deletions
diff --git a/src/csharp/Grpc.Examples.MathClient/MathClient.cs b/src/csharp/Grpc.Examples.MathClient/MathClient.cs index 95a4678bb8..f5956bd33e 100644 --- a/src/csharp/Grpc.Examples.MathClient/MathClient.cs +++ b/src/csharp/Grpc.Examples.MathClient/MathClient.cs @@ -1,5 +1,4 @@ #region Copyright notice and license - // Copyright 2015, Google Inc. // All rights reserved. // @@ -28,9 +27,7 @@ // THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT // (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE // OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. - #endregion - using System; using System.Runtime.InteropServices; using System.Threading; @@ -38,25 +35,25 @@ using Grpc.Core; namespace math { - class MathClient + class MathClient { - public static void Main (string[] args) - { + public static void Main(string[] args) + { GrpcEnvironment.Initialize(); - using (Channel channel = new Channel("127.0.0.1:23456")) - { - MathGrpc.IMathServiceClient stub = new MathGrpc.MathServiceClientStub(channel); - MathExamples.DivExample(stub); + using (Channel channel = new Channel("127.0.0.1:23456")) + { + MathGrpc.IMathServiceClient stub = new MathGrpc.MathServiceClientStub(channel); + MathExamples.DivExample(stub); MathExamples.FibExample(stub); - MathExamples.SumExample(stub); + MathExamples.SumExample(stub); - MathExamples.DivManyExample(stub); - } + MathExamples.DivManyExample(stub); + } GrpcEnvironment.Shutdown(); - } - } + } + } } |