MetalamaAPI documentationPatterns APIMetalama.​Patterns.​CachingCaching­Service­ExtensionsAdd­Dependency
Open sandboxFocus

CachingServiceExtensions.AddDependency Method

AddDependency(ICachingService, String)

Declaration
public static void AddDependency(this ICachingService cachingService, string key)
Parameters
Type Name Description
ICachingService cachingService
System.String key

AddDependency(ICachingService, ICacheDependency)

Declaration
public static void AddDependency(this ICachingService cachingService, ICacheDependency dependency)
Parameters
Type Name Description
ICachingService cachingService
ICacheDependency dependency