C# Class Geta.EPi.Extensions.SingletonPage.CacheKey

A cache key as a pair of a root page's content reference and a singleton page's type.
Afficher le fichier Open project: Geta/EPi.Extensions Class Usage Examples

Méthodes publiques

Méthode Description
CacheKey ( Type type, EPiServer.Core.ContentReference parentLink ) : System

Instantiates new CacheKey.

Equals ( object obj ) : bool

Determines whether the specified object is equal to the current object.

GetHashCode ( ) : int

Serves as a hash function for a particular type.

Méthodes protégées

Méthode Description
Equals ( CacheKey other ) : bool

Determines whether two specified CacheKey objects have the same value.

Method Details

CacheKey() public méthode

Instantiates new CacheKey.
public CacheKey ( Type type, EPiServer.Core.ContentReference parentLink ) : System
type System.Type Singleton page's type.
parentLink EPiServer.Core.ContentReference A root page's content reference under which singleton page gets searched.
Résultat System

Equals() protected méthode

Determines whether two specified CacheKey objects have the same value.
protected Equals ( CacheKey other ) : bool
other CacheKey The CacheKey to compare to this instance.
Résultat bool

Equals() public méthode

Determines whether the specified object is equal to the current object.
public Equals ( object obj ) : bool
obj object The object to compare with the current object.
Résultat bool

GetHashCode() public méthode

Serves as a hash function for a particular type.
public GetHashCode ( ) : int
Résultat int