Custom Dependency
In custom dependency, the user can have his own dependencies scenarios. In this way, items can be expired from cache in a number of flexible ways where expiration logic meets the user’s business requirements. NCache provides an abstract class ExtensibleDependency
that is base for all dependencies.
In This Section
Sample Implementation of Custom Dependency
Provides code snippet on implementing the ExtensibleDependency Class.
Sample Usage of Custom Dependency
Provides code snippet on using the implemented ExtensibleDependency Class.