From 0f863be58815888819402b5b229e75c4136c6540 Mon Sep 17 00:00:00 2001 From: David Fowler Date: Wed, 2 Nov 2016 08:54:42 -0700 Subject: [PATCH] Renamed JsonInvocationAdapter to JsonNetInvocationAdapter --- .../{JSonInvocationAdapter.cs => JsonNetInvocationAdapter.cs} | 4 ++-- samples/SocketsSample/Startup.cs | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) rename samples/SocketsSample/{JSonInvocationAdapter.cs => JsonNetInvocationAdapter.cs} (91%) diff --git a/samples/SocketsSample/JSonInvocationAdapter.cs b/samples/SocketsSample/JsonNetInvocationAdapter.cs similarity index 91% rename from samples/SocketsSample/JSonInvocationAdapter.cs rename to samples/SocketsSample/JsonNetInvocationAdapter.cs index 4f983cbbaf..8dfd070e60 100644 --- a/samples/SocketsSample/JSonInvocationAdapter.cs +++ b/samples/SocketsSample/JsonNetInvocationAdapter.cs @@ -6,11 +6,11 @@ using Newtonsoft.Json; namespace SocketsSample { - public class JsonInvocationAdapter : IInvocationAdapter + public class JsonNetInvocationAdapter : IInvocationAdapter { private JsonSerializer _serializer = new JsonSerializer(); - public JsonInvocationAdapter() + public JsonNetInvocationAdapter() { } diff --git a/samples/SocketsSample/Startup.cs b/samples/SocketsSample/Startup.cs index cca6789713..7e4b245069 100644 --- a/samples/SocketsSample/Startup.cs +++ b/samples/SocketsSample/Startup.cs @@ -49,7 +49,7 @@ namespace SocketsSample app.UseRpc(invocationAdapters => { invocationAdapters.AddInvocationAdapter("protobuf", new ProtobufInvocationAdapter(app.ApplicationServices)); - invocationAdapters.AddInvocationAdapter("json", new JsonInvocationAdapter()); + invocationAdapters.AddInvocationAdapter("json", new JsonNetInvocationAdapter()); invocationAdapters.AddInvocationAdapter("line", new LineInvocationAdapter()); }); }