C# Class Sitecore.SharedSource.Commons.Extensions.FastQueryExtensions

Collection of extensions methods that operate on an Item and return a list of child items using the Fast Query algorithm.
ファイルを表示 Open project: Velir/Sitecore-Commons

Public Methods

Method Description
GetFastQueryItems ( this item ) : Item[]

Use Fast Query to get all immediate child items.

GetFastQueryItems ( this item, Database db, FastQueryOptions fqOption ) : Item[]

Use Fast Query to get all child items. Option decides whether to get immediate children or all decendants

GetFastQueryItems ( this item, Database db, string templateId, FastQueryOptions fqOption ) : Item[]

Use Fast Query to get all child items. Option decides whether to get immediate children or all decendants child items must match the template

GetFastQueryItems ( this item, FastQueryOptions fqOption ) : Item[]

Use Fast Query to get all child items. Option decides whether to get immediate children or all decendants

GetFastQueryItems ( this item, string templateId ) : Item[]

Use Fast Query to get all immediate child items. child items must match the template

GetFastQueryItems ( this item, string templateId, FastQueryOptions fqOption ) : Item[]

Use Fast Query to get all child items. Option decides whether to get immediate children or all decendants child items must match the template

Method Details

GetFastQueryItems() public static method

Use Fast Query to get all immediate child items.
public static GetFastQueryItems ( this item ) : Item[]
item this
return Item[]

GetFastQueryItems() public static method

Use Fast Query to get all child items. Option decides whether to get immediate children or all decendants
public static GetFastQueryItems ( this item, Database db, FastQueryOptions fqOption ) : Item[]
item this The item.
db Database The db.
fqOption FastQueryOptions The fq option.
return Item[]

GetFastQueryItems() public static method

Use Fast Query to get all child items. Option decides whether to get immediate children or all decendants child items must match the template
public static GetFastQueryItems ( this item, Database db, string templateId, FastQueryOptions fqOption ) : Item[]
item this The item.
db Database The db.
templateId string The template id.
fqOption FastQueryOptions The fast query option.
return Item[]

GetFastQueryItems() public static method

Use Fast Query to get all child items. Option decides whether to get immediate children or all decendants
public static GetFastQueryItems ( this item, FastQueryOptions fqOption ) : Item[]
item this
fqOption FastQueryOptions
return Item[]

GetFastQueryItems() public static method

Use Fast Query to get all immediate child items. child items must match the template
public static GetFastQueryItems ( this item, string templateId ) : Item[]
item this
templateId string
return Item[]

GetFastQueryItems() public static method

Use Fast Query to get all child items. Option decides whether to get immediate children or all decendants child items must match the template
public static GetFastQueryItems ( this item, string templateId, FastQueryOptions fqOption ) : Item[]
item this The item.
templateId string The template id.
fqOption FastQueryOptions The fast query option.
return Item[]