Show / Hide Table of Contents

Class TwoLayerCache

Inheritance
System.Object
TwoLayerCache
Namespace:InfinniPlatform.Cache
Assembly:InfinniPlatform.Cache.TwoLayer.dll
Syntax
public class TwoLayerCache : object, ITwoLayerCache

Constructors

| Improve this Doc View Source

TwoLayerCache(IInMemoryCacheFactory, ISharedCacheFactory, ITwoLayerCacheStateObserver)

Declaration
public TwoLayerCache(IInMemoryCacheFactory inMemoryCacheFactory, ISharedCacheFactory sharedCacheFactory, ITwoLayerCacheStateObserver сacheStateObserver)
Parameters
Type Name Description
IInMemoryCacheFactory inMemoryCacheFactory
ISharedCacheFactory sharedCacheFactory
ITwoLayerCacheStateObserver сacheStateObserver

Methods

| Improve this Doc View Source

Contains(String)

Declaration
public bool Contains(string key)
Parameters
Type Name Description
System.String key
Returns
Type Description
System.Boolean
| Improve this Doc View Source

Get(String)

Declaration
public string Get(string key)
Parameters
Type Name Description
System.String key
Returns
Type Description
System.String
| Improve this Doc View Source

Remove(String)

Declaration
public bool Remove(string key)
Parameters
Type Name Description
System.String key
Returns
Type Description
System.Boolean
| Improve this Doc View Source

Set(String, String)

Declaration
public void Set(string key, string value)
Parameters
Type Name Description
System.String key
System.String value
| Improve this Doc View Source

TryGet(String, out String)

Declaration
public bool TryGet(string key, out string value)
Parameters
Type Name Description
System.String key
System.String value
Returns
Type Description
System.Boolean

Extension Methods

DynamicCollectionExtensions.GetItem(Object, Int32)
DynamicCollectionExtensions.SetItem(Object, Int32, Object)
DynamicCollectionExtensions.AddItem(Object, Object)
DynamicCollectionExtensions.InsertItem(Object, Int32, Object)
DynamicCollectionExtensions.RemoveItem(Object, Object)
DynamicCollectionExtensions.RemoveItemAt(Object, Int32)
DynamicCollectionExtensions.MoveItem(Object, Object, Int32)
DynamicObjectExtensions.TryGetPropertyValue(Object, String)
DynamicObjectExtensions.TrySetPropertyValue(Object, String, Object)
DynamicObjectExtensions.TryGetPropertyValueByPath(Object, String)
DynamicObjectExtensions.TrySetPropertyValueByPath(Object, String, Object)
ReflectionExtensions.IsInstanceOfType(Object, Type)
ReflectionExtensions.GetMemberValue(Object, String)
ReflectionExtensions.SetMemberValue(Object, String, Object)
ReflectionExtensions.InvokeMember(Object, String, Object[], out Object, Type[])
ReflectionExtensions.GetFieldValue(Object, FieldInfo)
ReflectionExtensions.SetFieldValue(Object, FieldInfo, Object)
ReflectionExtensions.GetPropertyValue(Object, PropertyInfo)
ReflectionExtensions.SetPropertyValue(Object, PropertyInfo, Object)
ReflectionExtensions.GetMethodDelegate(Object, MethodInfo)
ReflectionExtensions.GetEventDelegate(Object, EventInfo)
ReflectionExtensions.SetEventDelegate(Object, EventInfo, Object)
CommonExtensions.ExecuteSilent<T>(T, Action<T>)
  • Improve this Doc
  • View Source
Back to top © Copyright Infinnity Solutions Ltd, 2010–2017.