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

CachingServiceExtensions.AddDependencies Method

AddDependencies(ICachingService, IEnumerable<String>)

Declaration
public static void AddDependencies(this ICachingService cachingService, IEnumerable<string> keys)
Parameters
Type Name Description
ICachingService cachingService
System.Collections.Generic.IEnumerable<System.String> keys

AddDependencies(ICachingService, IEnumerable<ICacheDependency>)

Declaration
public static void AddDependencies(this ICachingService cachingService, IEnumerable<ICacheDependency> dependencies)
Parameters
Type Name Description
ICachingService cachingService
System.Collections.Generic.IEnumerable<ICacheDependency> dependencies