Show / Hide Table of Contents

Interface ISharedCache

Распределленый кэш.

Namespace:InfinniPlatform.Cache
Assembly:InfinniPlatform.Cache.Abstractions.dll
Syntax
public interface ISharedCache
Remarks

Хранит данные в постоянной памяти, позволяя разделять данные между несколькими экземплярами приложения.

Methods

| Improve this Doc View Source

Contains(String)

Проверяет наличие ключа в кэше.

Declaration
bool Contains(string key)
Parameters
Type Name Description
System.String key

Ключ.

Returns
Type Description
System.Boolean

Возвращает true, если кэш содержит ключ, иначе - false.

| Improve this Doc View Source

Get(String)

Возвращает значение ключа из кэша.

Declaration
string Get(string key)
Parameters
Type Name Description
System.String key

Ключ.

Returns
Type Description
System.String

Значение.

| Improve this Doc View Source

Remove(String)

Удаляет ключ из кэша.

Declaration
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
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
bool TryGet(string key, out string value)
Parameters
Type Name Description
System.String key

Ключ.

System.String value

Значение.

Returns
Type Description
System.Boolean

Возвращает true, если кэш содержит ключ, иначе - false.

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.