Back to Website
Show / Hide Table of Contents

Class MemoryCachingService

Inheritance
System.Object
MemoryCachingService
Implements
IMemoryCachingService
System.IDisposable
Inherited Members
System.Object.ToString()
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
Namespace: Aurigma.DesignAtoms.Common.Caching
Assembly: Aurigma.DesignAtoms.dll
Syntax
public class MemoryCachingService : IMemoryCachingService, IDisposable

Constructors

MemoryCachingService()

Declaration
public MemoryCachingService()

MemoryCachingService(TimeSpan)

Declaration
public MemoryCachingService(TimeSpan defaultExpirationTimeSpan)
Parameters
Type Name Description
System.TimeSpan defaultExpirationTimeSpan

Methods

Dispose()

Declaration
public void Dispose()

GetCache<T>(String)

Declaration
public ICache<T> GetCache<T>(string name)
Parameters
Type Name Description
System.String name
Returns
Type Description
ICache<T>
Type Parameters
Name Description
T

GetCache<T>(String, CacheItemPolicy)

Declaration
public ICache<T> GetCache<T>(string name, CacheItemPolicy defaultPolicy)
Parameters
Type Name Description
System.String name
System.Runtime.Caching.CacheItemPolicy defaultPolicy
Returns
Type Description
ICache<T>
Type Parameters
Name Description
T

Implements

IMemoryCachingService
System.IDisposable
Was this page helpful?
Thanks for your feedback!
Back to top Copyright © 2001–2025 Aurigma, Inc. All rights reserved.
Loading...
    Thank for your vote
    Your opinion is important to us. To provide details, send feedback.
    Send feedback