-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
eb06ba6
commit 886b4a3
Showing
5 changed files
with
57 additions
and
20 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
13 changes: 0 additions & 13 deletions
13
Src/RCommon.DistibutedMemoryCache/RCommon.DistibutedMemoryCache.csproj
This file was deleted.
Oops, something went wrong.
13 changes: 13 additions & 0 deletions
13
Src/RCommon.Persistence.Caching/IPersistenceCachingBuilder.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
using RCommon.Caching; | ||
using System; | ||
using System.Collections.Generic; | ||
using System.Linq; | ||
using System.Text; | ||
using System.Threading.Tasks; | ||
|
||
namespace RCommon.Persistence.Caching | ||
{ | ||
public interface IPersistenceCachingBuilder | ||
{ | ||
} | ||
} |
18 changes: 18 additions & 0 deletions
18
Src/RCommon.Persistence.Caching/IPersistenceCachingBuilderExtensions.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
using Microsoft.Extensions.DependencyInjection; | ||
using System; | ||
using System.Collections.Generic; | ||
using System.Linq; | ||
using System.Text; | ||
using System.Threading.Tasks; | ||
|
||
namespace RCommon.Persistence.Caching | ||
{ | ||
public static class IPersistenceCachingBuilderExtensions | ||
{ | ||
public static IPersistenceCachingBuilder Configure(this IPersistenceCachingBuilder builder) | ||
{ | ||
|
||
return builder; | ||
} | ||
} | ||
} |
26 changes: 26 additions & 0 deletions
26
Src/RCommon.Persistence.Caching/PersistenceCachingBuilder.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,26 @@ | ||
using Microsoft.Extensions.DependencyInjection; | ||
using RCommon.Caching; | ||
using System; | ||
using System.Collections.Generic; | ||
using System.Linq; | ||
using System.Text; | ||
using System.Threading.Tasks; | ||
|
||
namespace RCommon.Persistence.Caching | ||
{ | ||
public class PersistenceCachingBuilder : IPersistenceCachingBuilder | ||
{ | ||
public PersistenceCachingBuilder(IRCommonBuilder builder) | ||
{ | ||
Services = builder.Services; | ||
RegisterServices(Services); | ||
} | ||
|
||
protected void RegisterServices(IServiceCollection services) | ||
{ | ||
|
||
} | ||
|
||
public IServiceCollection Services { get; } | ||
} | ||
} |