diff --git a/Examples/Examples.sln b/Examples/Examples.sln index d0bbba48..d76f21e5 100644 --- a/Examples/Examples.sln +++ b/Examples/Examples.sln @@ -145,8 +145,6 @@ Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "RCommon.SystemTextJson", ". EndProject Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "RCommon.MemoryCache", "..\Src\RCommon.MemoryCache\RCommon.MemoryCache.csproj", "{F5277287-1776-494B-92EE-7237D1B8949B}" EndProject -Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "RCommon.DistibutedMemoryCache", "..\Src\RCommon.DistibutedMemoryCache\RCommon.DistibutedMemoryCache.csproj", "{0BCA99B2-86A4-40DF-B42D-7AD9F8BC4C49}" -EndProject Global GlobalSection(SolutionConfigurationPlatforms) = preSolution Debug|Any CPU = Debug|Any CPU @@ -377,10 +375,6 @@ Global {F5277287-1776-494B-92EE-7237D1B8949B}.Debug|Any CPU.Build.0 = Debug|Any CPU {F5277287-1776-494B-92EE-7237D1B8949B}.Release|Any CPU.ActiveCfg = Release|Any CPU {F5277287-1776-494B-92EE-7237D1B8949B}.Release|Any CPU.Build.0 = Release|Any CPU - {0BCA99B2-86A4-40DF-B42D-7AD9F8BC4C49}.Debug|Any CPU.ActiveCfg = Debug|Any CPU - {0BCA99B2-86A4-40DF-B42D-7AD9F8BC4C49}.Debug|Any CPU.Build.0 = Debug|Any CPU - {0BCA99B2-86A4-40DF-B42D-7AD9F8BC4C49}.Release|Any CPU.ActiveCfg = Release|Any CPU - {0BCA99B2-86A4-40DF-B42D-7AD9F8BC4C49}.Release|Any CPU.Build.0 = Release|Any CPU EndGlobalSection GlobalSection(SolutionProperties) = preSolution HideSolutionNode = FALSE @@ -441,7 +435,6 @@ Global {8F5C5AD3-8310-47A7-BB30-42C054D032E2} = {A53F8891-29D2-449D-B9BA-062D19EC7834} {6C07FC1A-4339-42AA-AF5F-83570F81A5A4} = {3199F749-0082-41D0-91D3-ECED117F8B08} {F5277287-1776-494B-92EE-7237D1B8949B} = {3199F749-0082-41D0-91D3-ECED117F8B08} - {0BCA99B2-86A4-40DF-B42D-7AD9F8BC4C49} = {3199F749-0082-41D0-91D3-ECED117F8B08} EndGlobalSection GlobalSection(ExtensibilityGlobals) = postSolution SolutionGuid = {0B0CD26D-8067-4667-863E-6B0EE7EDAA42} diff --git a/Src/RCommon.DistibutedMemoryCache/RCommon.DistibutedMemoryCache.csproj b/Src/RCommon.DistibutedMemoryCache/RCommon.DistibutedMemoryCache.csproj deleted file mode 100644 index cce9b195..00000000 --- a/Src/RCommon.DistibutedMemoryCache/RCommon.DistibutedMemoryCache.csproj +++ /dev/null @@ -1,13 +0,0 @@ - - - - net8.0 - enable - enable - - - - - - - diff --git a/Src/RCommon.Persistence.Caching/IPersistenceCachingBuilder.cs b/Src/RCommon.Persistence.Caching/IPersistenceCachingBuilder.cs new file mode 100644 index 00000000..f7f78577 --- /dev/null +++ b/Src/RCommon.Persistence.Caching/IPersistenceCachingBuilder.cs @@ -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 + { + } +} diff --git a/Src/RCommon.Persistence.Caching/IPersistenceCachingBuilderExtensions.cs b/Src/RCommon.Persistence.Caching/IPersistenceCachingBuilderExtensions.cs new file mode 100644 index 00000000..7ec732c5 --- /dev/null +++ b/Src/RCommon.Persistence.Caching/IPersistenceCachingBuilderExtensions.cs @@ -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; + } + } +} diff --git a/Src/RCommon.Persistence.Caching/PersistenceCachingBuilder.cs b/Src/RCommon.Persistence.Caching/PersistenceCachingBuilder.cs new file mode 100644 index 00000000..d1f1ce77 --- /dev/null +++ b/Src/RCommon.Persistence.Caching/PersistenceCachingBuilder.cs @@ -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; } + } +}