Skip to content

Commit 7268b7f

Browse files
moved to new namespaces
1 parent 73e03d6 commit 7268b7f

File tree

389 files changed

+669
-678
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

389 files changed

+669
-678
lines changed

sample/SampleServer/Program.cs

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,6 @@
11
using System;
22
using System.Diagnostics;
33
using System.Threading.Tasks;
4-
using JsonRpc;
5-
using Lsp;
6-
using Lsp.Capabilities.Client;
7-
using Lsp.Capabilities.Server;
8-
using Lsp.Models;
9-
using Lsp.Protocol;
104

115
namespace SampleServer
126
{

sample/SampleServer/SampleServer.csproj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
<PropertyGroup>
44
<OutputType>Exe</OutputType>
5-
<TargetFramework>netcoreapp1.1</TargetFramework>
5+
<TargetFramework>netcoreapp2.0</TargetFramework>
66
<RuntimeIdentifier>win7-x64</RuntimeIdentifier>
77
</PropertyGroup>
88

src/JsonRpc/Client/Notification.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
using Newtonsoft.Json;
22
using Newtonsoft.Json.Serialization;
33

4-
namespace JsonRpc.Client
4+
namespace OmniSharp.Extensions.JsonRpc.Client
55
{
66
[JsonObject(NamingStrategyType = typeof(CamelCaseNamingStrategy))]
77
public class Notification

src/JsonRpc/Client/Request.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
using Newtonsoft.Json;
22
using Newtonsoft.Json.Serialization;
33

4-
namespace JsonRpc.Client
4+
namespace OmniSharp.Extensions.JsonRpc.Client
55
{
66
[JsonObject(NamingStrategyType = typeof(CamelCaseNamingStrategy))]
77
public class Request

src/JsonRpc/Client/Response.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
using Newtonsoft.Json;
22
using Newtonsoft.Json.Serialization;
33

4-
namespace JsonRpc.Client
4+
namespace OmniSharp.Extensions.JsonRpc.Client
55
{
66
[JsonObject(NamingStrategyType = typeof(CamelCaseNamingStrategy))]
77
public class Response

src/JsonRpc/Connection.cs

Lines changed: 3 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,7 @@
1-
using System;
2-
using System.Collections.Concurrent;
3-
using System.Collections.Generic;
1+
using System;
42
using System.IO;
5-
using System.Linq;
6-
using System.Runtime.InteropServices;
7-
using System.Threading;
8-
using System.Threading.Tasks;
9-
using JsonRpc.Server;
10-
using JsonRpc.Server.Messages;
11-
using Newtonsoft.Json.Linq;
123

13-
namespace JsonRpc
4+
namespace OmniSharp.Extensions.JsonRpc
145
{
156
public class Connection : IDisposable
167
{
@@ -48,4 +39,4 @@ public void Dispose()
4839
_inputHandler?.Dispose();
4940
}
5041
}
51-
}
42+
}

src/JsonRpc/Error.cs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
1-
using JsonRpc.Server.Messages;
2-
using Newtonsoft.Json;
1+
using Newtonsoft.Json;
32
using Newtonsoft.Json.Serialization;
3+
using OmniSharp.Extensions.JsonRpc.Server.Messages;
44

5-
namespace JsonRpc
5+
namespace OmniSharp.Extensions.JsonRpc
66
{
77

88
[JsonObject(NamingStrategyType = typeof(CamelCaseNamingStrategy))]

src/JsonRpc/ErrorResponse.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
1-
using JsonRpc.Client;
1+
using OmniSharp.Extensions.JsonRpc.Client;
22

3-
namespace JsonRpc
3+
namespace OmniSharp.Extensions.JsonRpc
44
{
55
public struct ErrorResponse
66
{

src/JsonRpc/HandlerCollection.cs

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,10 @@
11
using System;
22
using System.Collections;
33
using System.Collections.Generic;
4-
using System.Collections.ObjectModel;
54
using System.Linq;
65
using System.Reflection;
76

8-
namespace JsonRpc
7+
namespace OmniSharp.Extensions.JsonRpc
98
{
109
class HandlerCollection : IEnumerable<IHandlerInstance>
1110
{

src/JsonRpc/IHandlerInstance.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
using System;
22

3-
namespace JsonRpc
3+
namespace OmniSharp.Extensions.JsonRpc
44
{
55
public interface IHandlerInstance
66
{

0 commit comments

Comments
 (0)