Skip to content

Commit

Permalink
WIP
Browse files Browse the repository at this point in the history
  • Loading branch information
jasonmwebb-lv committed Jul 31, 2024
1 parent eb06ba6 commit 886b4a3
Show file tree
Hide file tree
Showing 5 changed files with 57 additions and 20 deletions.
7 changes: 0 additions & 7 deletions Examples/Examples.sln
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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
Expand Down Expand Up @@ -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}
Expand Down

This file was deleted.

13 changes: 13 additions & 0 deletions Src/RCommon.Persistence.Caching/IPersistenceCachingBuilder.cs
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
{
}
}
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 Src/RCommon.Persistence.Caching/PersistenceCachingBuilder.cs
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; }
}
}

0 comments on commit 886b4a3

Please sign in to comment.