C# Class SampleApplication.Controllers.FilterInjectionExample.CacheAttribute

Attribute to specify that the result shall be cached.
Inheritance: System.Attribute
Afficher le fichier Open project: ninject/Ninject.Web.WebApi

Méthodes publiques

Méthode Description
CacheAttribute ( int days, int hours, int minutes, int seconds ) : System

Initializes a new instance of the CacheAttribute class.

Method Details

CacheAttribute() public méthode

Initializes a new instance of the CacheAttribute class.
public CacheAttribute ( int days, int hours, int minutes, int seconds ) : System
days int The days of the cache expiration time.
hours int The hours of the cache expiration time.
minutes int The minutes of the cache expiration time.
seconds int The seconds of the cache expiration time.
Résultat System