C# Класс Sitecore.Extensions.ItemExtensions

Показать файл Открыть проект

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

Метод Описание
ChildrenDerivedFrom ( this item, ID templateId ) : IEnumerable
DeleteAndPublish ( this item ) : void
GetAncestors ( this item, System.Boolean descending = true ) : IEnumerable
GetReferrersAsItems ( this item ) : IEnumerable
HasLanguage ( this item, System.Language language ) : bool
HasLanguage ( this item, string languageName ) : bool
IsDerivedFromTemplate ( this item, ID templateId ) : bool
IsInContextSite ( this item ) : System.Boolean
IsPublished ( this pItem ) : bool
IsStandardValues ( this item ) : bool
IsTemplate ( this item ) : bool
IsValidForPublish ( this item ) : System.Boolean
LanguageVersionCount ( this item, System.Language lang ) : int
Publish ( this item, bool deep ) : void
UnPublish ( this item ) : void

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

ChildrenDerivedFrom() публичный статический Метод

public static ChildrenDerivedFrom ( this item, ID templateId ) : IEnumerable
item this
templateId ID
Результат IEnumerable

DeleteAndPublish() публичный статический Метод

public static DeleteAndPublish ( this item ) : void
item this
Результат void

GetAncestors() публичный статический Метод

public static GetAncestors ( this item, System.Boolean descending = true ) : IEnumerable
item this
descending System.Boolean
Результат IEnumerable

GetReferrersAsItems() публичный статический Метод

public static GetReferrersAsItems ( this item ) : IEnumerable
item this
Результат IEnumerable

HasLanguage() публичный статический Метод

public static HasLanguage ( this item, System.Language language ) : bool
item this
language System.Language
Результат bool

HasLanguage() публичный статический Метод

public static HasLanguage ( this item, string languageName ) : bool
item this
languageName string
Результат bool

IsDerivedFromTemplate() публичный статический Метод

public static IsDerivedFromTemplate ( this item, ID templateId ) : bool
item this
templateId ID
Результат bool

IsInContextSite() публичный статический Метод

public static IsInContextSite ( this item ) : System.Boolean
item this
Результат System.Boolean

IsPublished() публичный статический Метод

public static IsPublished ( this pItem ) : bool
pItem this
Результат bool

IsStandardValues() публичный статический Метод

public static IsStandardValues ( this item ) : bool
item this
Результат bool

IsTemplate() публичный статический Метод

public static IsTemplate ( this item ) : bool
item this
Результат bool

IsValidForPublish() публичный статический Метод

public static IsValidForPublish ( this item ) : System.Boolean
item this
Результат System.Boolean

LanguageVersionCount() публичный статический Метод

public static LanguageVersionCount ( this item, System.Language lang ) : int
item this
lang System.Language
Результат int

Publish() публичный статический Метод

public static Publish ( this item, bool deep ) : void
item this
deep bool
Результат void

UnPublish() публичный статический Метод

public static UnPublish ( this item ) : void
item this
Результат void