Show / Hide Table of Contents

Class MixCacheService

Inheritance
System.Object
MixCacheService
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: Mix.Heart.Services
Assembly: mix.heart.dll
Syntax
public class MixCacheService

Constructors

| Improve this Doc View Source

MixCacheService()

Declaration
public MixCacheService()

Fields

| Improve this Doc View Source

serializer

Declaration
protected JsonSerializer serializer
Field Value
Type Description
JsonSerializer

Properties

| Improve this Doc View Source

IsCacheEnabled

Declaration
public bool IsCacheEnabled { get; }
Property Value
Type Description
System.Boolean

Methods

| Improve this Doc View Source

GetAsync<T>(String, Type, String)

Declaration
public Task<T> GetAsync<T>(string key, Type dataType, string filename)
Parameters
Type Name Description
System.String key
System.Type dataType
System.String filename
Returns
Type Description
System.Threading.Tasks.Task<T>
Type Parameters
Name Description
T
| Improve this Doc View Source

RemoveCacheAsync()

Declaration
public Task RemoveCacheAsync()
Returns
Type Description
System.Threading.Tasks.Task
| Improve this Doc View Source

RemoveCacheAsync(Object, Type)

Declaration
public Task RemoveCacheAsync(object key, Type dataType)
Parameters
Type Name Description
System.Object key
System.Type dataType
Returns
Type Description
System.Threading.Tasks.Task
| Improve this Doc View Source

SetAsync<T>(String, T, Type, String)

Declaration
public Task<bool> SetAsync<T>(string key, T value, Type dataType, string filename)
Parameters
Type Name Description
System.String key
T value
System.Type dataType
System.String filename
Returns
Type Description
System.Threading.Tasks.Task<System.Boolean>
Type Parameters
Name Description
T
  • Improve this Doc
  • View Source
☀
☾
In This Article
Back to top
Generated by DocFX
☀
☾