C# Class PiranhaExtensions, CodemerxDecompile

Datei anzeigen Open project: codemerx/CodemerxDecompile

Public Methods

Method Description
AddPiranha ( IServiceCollection services, ServiceLifetime scope = 1 ) : IServiceCollection
AddPiranhaDistributedCache ( IServiceCollection services ) : IServiceCollection
AddPiranhaMemoryCache ( IServiceCollection services, bool clone = false ) : IServiceCollection
AddPiranhaSimpleCache ( IServiceCollection services, bool clone = false ) : IServiceCollection
UseMemoryCache ( PiranhaServiceBuilder serviceBuilder, bool clone = false ) : PiranhaServiceBuilder

Method Details

AddPiranha() public static method

public static AddPiranha ( IServiceCollection services, ServiceLifetime scope = 1 ) : IServiceCollection
services IServiceCollection
scope ServiceLifetime
return IServiceCollection

AddPiranhaDistributedCache() public static method

public static AddPiranhaDistributedCache ( IServiceCollection services ) : IServiceCollection
services IServiceCollection
return IServiceCollection

AddPiranhaMemoryCache() public static method

public static AddPiranhaMemoryCache ( IServiceCollection services, bool clone = false ) : IServiceCollection
services IServiceCollection
clone bool
return IServiceCollection

AddPiranhaSimpleCache() public static method

public static AddPiranhaSimpleCache ( IServiceCollection services, bool clone = false ) : IServiceCollection
services IServiceCollection
clone bool
return IServiceCollection

UseMemoryCache() public static method

public static UseMemoryCache ( PiranhaServiceBuilder serviceBuilder, bool clone = false ) : PiranhaServiceBuilder
serviceBuilder PiranhaServiceBuilder
clone bool
return PiranhaServiceBuilder