Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
N
netcoreplus
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
tsai
netcoreplus
Commits
a067bbdf
Commit
a067bbdf
authored
May 17, 2019
by
阿星Plus
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
✔
✔
✔
parent
4355e858
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
5 deletions
+5
-5
MemoryCacheManager.cs
src/Plus/Runtime/Caching/Memory/MemoryCacheManager.cs
+3
-3
PlusMemoryCache.cs
src/Plus/Runtime/Caching/Memory/PlusMemoryCache.cs
+2
-2
No files found.
src/Plus/Runtime/Caching/Memory/MemoryCacheManager.cs
View file @
a067bbdf
...
...
@@ -7,14 +7,14 @@ namespace Plus.Runtime.Caching.Memory
/// <summary>
/// Implements <see cref="ICacheManager"/> to work with MemoryCache.
/// </summary>
public
class
Abp
MemoryCacheManager
:
CacheManagerBase
public
class
Plus
MemoryCacheManager
:
CacheManagerBase
{
public
ILogger
Logger
{
get
;
set
;
}
/// <summary>
/// Constructor.
/// </summary>
public
Abp
MemoryCacheManager
(
IIocManager
iocManager
,
ICachingConfiguration
configuration
)
public
Plus
MemoryCacheManager
(
IIocManager
iocManager
,
ICachingConfiguration
configuration
)
:
base
(
iocManager
,
configuration
)
{
Logger
=
NullLogger
.
Instance
;
...
...
@@ -22,7 +22,7 @@ namespace Plus.Runtime.Caching.Memory
protected
override
ICache
CreateCacheImplementation
(
string
name
)
{
return
new
Abp
MemoryCache
(
name
)
return
new
Plus
MemoryCache
(
name
)
{
Logger
=
Logger
};
...
...
src/Plus/Runtime/Caching/Memory/PlusMemoryCache.cs
View file @
a067bbdf
...
...
@@ -7,7 +7,7 @@ namespace Plus.Runtime.Caching.Memory
/// <summary>
/// Implements <see cref="ICache"/> to work with <see cref="MemoryCache"/>.
/// </summary>
public
class
Abp
MemoryCache
:
CacheBase
public
class
Plus
MemoryCache
:
CacheBase
{
private
MemoryCache
_memoryCache
;
...
...
@@ -15,7 +15,7 @@ namespace Plus.Runtime.Caching.Memory
/// Constructor.
/// </summary>
/// <param name="name">Unique name of the cache</param>
public
Abp
MemoryCache
(
string
name
)
public
Plus
MemoryCache
(
string
name
)
:
base
(
name
)
{
_memoryCache
=
new
MemoryCache
(
new
OptionsWrapper
<
MemoryCacheOptions
>(
new
MemoryCacheOptions
()));
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment