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.
Exibir arquivo Open project: Geta/EPi.Extensions Class Usage Examples

Public Methods

Method 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.

Protected Methods

Method Description
Equals ( CacheKey other ) : bool

Determines whether two specified CacheKey objects have the same value.

Method Details

CacheKey() public method

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.
return System

Equals() protected method

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

Equals() public method

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.
return bool

GetHashCode() public method

Serves as a hash function for a particular type.
public GetHashCode ( ) : int
return int