C# Класс Geta.EPi.Extensions.SingletonPage.CacheKey

A cache key as a pair of a root page's content reference and a singleton page's type.
Показать файл Открыть проект Примеры использования класса

Открытые методы

Метод Описание
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.

Защищенные методы

Метод Описание
Equals ( CacheKey other ) : bool

Determines whether two specified CacheKey objects have the same value.

Описание методов

CacheKey() публичный Метод

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.
Результат System

Equals() защищенный Метод

Determines whether two specified CacheKey objects have the same value.
protected Equals ( CacheKey other ) : bool
other CacheKey The CacheKey to compare to this instance.
Результат bool

Equals() публичный Метод

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.
Результат bool

GetHashCode() публичный Метод

Serves as a hash function for a particular type.
public GetHashCode ( ) : int
Результат int