C# Класс EPiCode.Relations.Core.RelationProviders.DDSInMemoryProvider.DDSInMemoryProvider

Наследование: RuleProviderBase
Показать файл Открыть проект

Private Properties

Свойство Тип Описание
EnsureKey void
GetFromCache object
RemovedCallback void
SetKey void
SetKey void
StoreInCache void
UpdateCache void
UpdateLocalOnly void
UpdateRemoteOnly void

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

Метод Описание
AddNewRule ( string name, string pageTypeLeft, string pageTypeRight, string ruleTextLeft, string ruleTextRight ) : Rule
DeleteAll ( ) : void
DeleteRule ( string name ) : void
GetAllRules ( ) : IEnumerable
GetAllRulesList ( ) : List
GetRule ( Identity id ) : Rule
GetRule ( string name ) : Rule
GetRules ( int pageID ) : IEnumerable
GetRules ( string pageTypeName ) : IEnumerable
GetRulesLeft ( int pageID ) : IEnumerable
GetRulesRight ( int pageID ) : IEnumerable
IsDescendent ( int pageID, int startID ) : bool
IsLeftRule ( int pageID, Rule rule ) : bool
IsLeftRule ( string pageTypeName, Rule rule ) : bool
RuleExists ( Identity id ) : bool
RuleExists ( string name ) : bool
Save ( Rule rel ) : Identity
SearchRelations ( Rule rule, int pageID, string searchKeyWord, PageReference hierarchyStart ) : PageDataCollection
SearchRelations ( Rule rule, int pageID, string searchKeyWord, PageReference hierarchyStart, bool isLeftRule ) : PageDataCollection
SearchRelations ( Rule rule, int pageID, string searchKeyWord, bool isLeftRule ) : PageDataCollection

Приватные методы

Метод Описание
EnsureKey ( ) : void
GetFromCache ( string cacheKey ) : object

Will get the pages from the cache, if it exists.

RemovedCallback ( string key, object value, CacheItemRemovedReason reason ) : void
SetKey ( ) : void
SetKey ( long value ) : void
StoreInCache ( string cacheKey, object relations ) : void
UpdateCache ( ) : void
UpdateLocalOnly ( ) : void
UpdateRemoteOnly ( ) : void

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

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

public AddNewRule ( string name, string pageTypeLeft, string pageTypeRight, string ruleTextLeft, string ruleTextRight ) : Rule
name string
pageTypeLeft string
pageTypeRight string
ruleTextLeft string
ruleTextRight string
Результат Rule

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

public DeleteAll ( ) : void
Результат void

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

public DeleteRule ( string name ) : void
name string
Результат void

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

public GetAllRules ( ) : IEnumerable
Результат IEnumerable

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

public GetAllRulesList ( ) : List
Результат List

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

public GetRule ( Identity id ) : Rule
id Identity
Результат Rule

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

public GetRule ( string name ) : Rule
name string
Результат Rule

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

public GetRules ( int pageID ) : IEnumerable
pageID int
Результат IEnumerable

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

public GetRules ( string pageTypeName ) : IEnumerable
pageTypeName string
Результат IEnumerable

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

public GetRulesLeft ( int pageID ) : IEnumerable
pageID int
Результат IEnumerable

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

public GetRulesRight ( int pageID ) : IEnumerable
pageID int
Результат IEnumerable

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

public IsDescendent ( int pageID, int startID ) : bool
pageID int
startID int
Результат bool

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

public IsLeftRule ( int pageID, Rule rule ) : bool
pageID int
rule Rule
Результат bool

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

public IsLeftRule ( string pageTypeName, Rule rule ) : bool
pageTypeName string
rule Rule
Результат bool

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

public RuleExists ( Identity id ) : bool
id Identity
Результат bool

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

public RuleExists ( string name ) : bool
name string
Результат bool

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

public Save ( Rule rel ) : Identity
rel Rule
Результат Identity

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

public SearchRelations ( Rule rule, int pageID, string searchKeyWord, PageReference hierarchyStart ) : PageDataCollection
rule Rule
pageID int
searchKeyWord string
hierarchyStart PageReference
Результат PageDataCollection

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

public SearchRelations ( Rule rule, int pageID, string searchKeyWord, PageReference hierarchyStart, bool isLeftRule ) : PageDataCollection
rule Rule
pageID int
searchKeyWord string
hierarchyStart PageReference
isLeftRule bool
Результат PageDataCollection

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

public SearchRelations ( Rule rule, int pageID, string searchKeyWord, bool isLeftRule ) : PageDataCollection
rule Rule
pageID int
searchKeyWord string
isLeftRule bool
Результат PageDataCollection