Skip to content

Commit e27ec62

Browse files
committed
repo cleanup, adding runner
1 parent 765c341 commit e27ec62

File tree

162 files changed

+509
-11252
lines changed

Some content is hidden

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

162 files changed

+509
-11252
lines changed

.gitignore

+399
Large diffs are not rendered by default.

RediSharp.sln

+28
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,28 @@
1+
2+
Microsoft Visual Studio Solution File, Format Version 12.00
3+
# Visual Studio Version 16
4+
VisualStudioVersion = 16.0.30114.105
5+
MinimumVisualStudioVersion = 10.0.40219.1
6+
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "RediSharp.Core", "src\RediSharp.Core\RediSharp.Core.csproj", "{6F5E84A5-DFC1-4747-AF7D-97BDAFA9102D}"
7+
EndProject
8+
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "RediSharp.Tests", "tests\RediSharp.Tests\RediSharp.Tests.csproj", "{73B56C35-BC92-4ACD-B077-7D55CD67B95F}"
9+
EndProject
10+
Global
11+
GlobalSection(SolutionConfigurationPlatforms) = preSolution
12+
Debug|Any CPU = Debug|Any CPU
13+
Release|Any CPU = Release|Any CPU
14+
EndGlobalSection
15+
GlobalSection(SolutionProperties) = preSolution
16+
HideSolutionNode = FALSE
17+
EndGlobalSection
18+
GlobalSection(ProjectConfigurationPlatforms) = postSolution
19+
{6F5E84A5-DFC1-4747-AF7D-97BDAFA9102D}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
20+
{6F5E84A5-DFC1-4747-AF7D-97BDAFA9102D}.Debug|Any CPU.Build.0 = Debug|Any CPU
21+
{6F5E84A5-DFC1-4747-AF7D-97BDAFA9102D}.Release|Any CPU.ActiveCfg = Release|Any CPU
22+
{6F5E84A5-DFC1-4747-AF7D-97BDAFA9102D}.Release|Any CPU.Build.0 = Release|Any CPU
23+
{73B56C35-BC92-4ACD-B077-7D55CD67B95F}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
24+
{73B56C35-BC92-4ACD-B077-7D55CD67B95F}.Debug|Any CPU.Build.0 = Debug|Any CPU
25+
{73B56C35-BC92-4ACD-B077-7D55CD67B95F}.Release|Any CPU.ActiveCfg = Release|Any CPU
26+
{73B56C35-BC92-4ACD-B077-7D55CD67B95F}.Release|Any CPU.Build.0 = Release|Any CPU
27+
EndGlobalSection
28+
EndGlobal
+11-11
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,13 @@
1-
<Project Sdk="Microsoft.NET.Sdk">
2-
3-
<PropertyGroup>
4-
<TargetFramework>net6.0</TargetFramework>
5-
<ImplicitUsings>enable</ImplicitUsings>
6-
<Nullable>enable</Nullable>
7-
</PropertyGroup>
8-
1+
<Project Sdk="Microsoft.NET.Sdk">
2+
3+
<PropertyGroup>
4+
<TargetFramework>net6.0</TargetFramework>
5+
<ImplicitUsings>enable</ImplicitUsings>
6+
<Nullable>enable</Nullable>
7+
</PropertyGroup>
8+
99
<ItemGroup>
1010
<PackageReference Include="StackExchange.Redis" Version="2.6.45" />
11-
</ItemGroup>
12-
13-
</Project>
11+
</ItemGroup>
12+
13+
</Project>
+17-17
Original file line numberDiff line numberDiff line change
@@ -1,18 +1,18 @@
1-
using StackExchange.Redis;
2-
using System.Text.Json;
3-
using System.Text.Json.Serialization;
4-
namespace RediSharp.Core;
5-
6-
public static class RedisJsonCommands
7-
{
8-
private static readonly JsonSerializerOptions Options = new()
9-
{
10-
DefaultIgnoreCondition = JsonIgnoreCondition.WhenWritingNull,
11-
};
12-
public static RedisResult JsonSet(this IDatabase db, string key, string path, object obj)
13-
{
14-
var json = JsonSerializer.Serialize(obj);
15-
var result = db.Execute("JSON.SET", key, path, json);
16-
return result;
17-
}
1+
using StackExchange.Redis;
2+
using System.Text.Json;
3+
using System.Text.Json.Serialization;
4+
namespace RediSharp.Core;
5+
6+
public static class RedisJsonCommands
7+
{
8+
private static readonly JsonSerializerOptions Options = new()
9+
{
10+
DefaultIgnoreCondition = JsonIgnoreCondition.WhenWritingNull,
11+
};
12+
public static RedisResult JsonSet(this IDatabase db, string key, string path, object obj)
13+
{
14+
var json = JsonSerializer.Serialize(obj);
15+
var result = db.Execute("JSON.SET", key, path, json);
16+
return result;
17+
}
1818
}

src/RediSharp.Core/bin/Debug/net6.0/RediSharp.Core.deps.json

-294
This file was deleted.
Binary file not shown.
Binary file not shown.

src/RediSharp.Core/obj/Debug/net6.0/.NETCoreApp,Version=v6.0.AssemblyAttributes.cs

-4
This file was deleted.

0 commit comments

Comments
 (0)