C# Class Flatwhite.RevalidateAttribute

Inheritance: MethodFilterAttribute
Afficher le fichier Open project: vanthoainguyen/Flatwhite

Private Properties

Свойство Type Description

Méthodes publiques

Méthode Description
OnMethodExecuted ( MethodExecutedContext methodExecutedContext ) : void

Clear the cache with the provided revalidation keys

OnMethodExecutedAsync ( MethodExecutedContext methodExecutedContext ) : System.Threading.Tasks.Task

Revalidate cache async

RevalidateAttribute ( ) : System

Initializes a RevalidateAttribute with a list of revalidation keys

Method Details

OnMethodExecuted() public méthode

Clear the cache with the provided revalidation keys
public OnMethodExecuted ( MethodExecutedContext methodExecutedContext ) : void
methodExecutedContext MethodExecutedContext
Résultat void

OnMethodExecutedAsync() public méthode

Revalidate cache async
public OnMethodExecutedAsync ( MethodExecutedContext methodExecutedContext ) : System.Threading.Tasks.Task
methodExecutedContext MethodExecutedContext
Résultat System.Threading.Tasks.Task

RevalidateAttribute() public méthode

Initializes a RevalidateAttribute with a list of revalidation keys
public RevalidateAttribute ( ) : System
Résultat System