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

Extensions methods for a list of items
Mostrar archivo Open project: Velir/Sitecore-Commons

Public Methods

Method 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 method

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
return bool

ContainsItem() public static method

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
return bool