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

Extensions methods for a list of items
Afficher le fichier Open project: Velir/Sitecore-Commons

Méthodes publiques

Méthode Description
ContainsItem ( this items, Item item ) : bool

Checks to see if the passed item is part of the current list

ContainsItem ( this list, string itemId ) : bool

Checks to see if the passed id is part of the current list

Method Details

ContainsItem() public static méthode

Checks to see if the passed item is part of the current list
public static ContainsItem ( this items, Item item ) : bool
items this
item Item
Résultat bool

ContainsItem() public static méthode

Checks to see if the passed id is part of the current list
public static ContainsItem ( this list, string itemId ) : bool
list this
itemId string
Résultat bool