Table of Contents

Class AkavacheOptionsBuilderExtensions

Namespace
Apizr
Assembly
Apizr.Integrations.Akavache.dll

Akavache options builder extensions

public static class AkavacheOptionsBuilderExtensions
Inheritance
AkavacheOptionsBuilderExtensions
Inherited Members

Methods

WithAkavacheCacheHandler<TBuilder>(TBuilder)

Set Akavache as CacheHandler with LocalMachine blob cache and ApizrAkavacheCacheHandler name

public static TBuilder WithAkavacheCacheHandler<TBuilder>(this TBuilder builder) where TBuilder : IApizrGlobalCommonOptionsBuilderBase

Parameters

builder TBuilder

Returns

TBuilder

Type Parameters

TBuilder

WithAkavacheCacheHandler<TBuilder>(TBuilder, Func<IBlobCache>)

Set Akavache as CacheHandler with your blob cache and ApizrAkavacheCacheHandler name

public static TBuilder WithAkavacheCacheHandler<TBuilder>(this TBuilder builder, Func<IBlobCache> blobCacheFactory) where TBuilder : IApizrGlobalCommonOptionsBuilderBase

Parameters

builder TBuilder
blobCacheFactory Func<IBlobCache>

The blob cache factory of your choice

Returns

TBuilder

Type Parameters

TBuilder

WithAkavacheCacheHandler<TBuilder>(TBuilder, Func<IBlobCache>, string)

Set Akavache as CacheHandler with your blob cache and your provided name

public static TBuilder WithAkavacheCacheHandler<TBuilder>(this TBuilder builder, Func<IBlobCache> blobCacheFactory, string applicationName) where TBuilder : IApizrGlobalCommonOptionsBuilderBase

Parameters

builder TBuilder
blobCacheFactory Func<IBlobCache>

The blob cache factory of your choice

applicationName string

The application name used by Akavache

Returns

TBuilder

Type Parameters

TBuilder

WithAkavacheCacheHandler<TBuilder>(TBuilder, string)

Set Akavache as CacheHandler with LocalMachine blob cache and your provided name

public static TBuilder WithAkavacheCacheHandler<TBuilder>(this TBuilder builder, string applicationName) where TBuilder : IApizrGlobalCommonOptionsBuilderBase

Parameters

builder TBuilder
applicationName string

The application name used by Akavache

Returns

TBuilder

Type Parameters

TBuilder