The base class implementation will call GetPage(PageReference, ILanguageSelector) for each PageReference. If overriden the implementation should return all requested pages. A suggested implementation is to call SetInitializedLanguageBranch(LanguageSelectorContext) and then return pages in the language given by the passed in LanguageSelectorContext property SelectedLanguage, if the page does not exist in the specified language the page in master language branch should be returned.

Namespace:  EPiServer.Core
Assembly:  EPiServer (in EPiServer.dll) Version: 5.2.375.236

Syntax

C#
protected virtual PageDataCollection GetPages(
	PageReferenceCollection pageReferences,
	ILanguageSelector selector
)

Parameters

pageReferences
Type: EPiServer.Core..::.PageReferenceCollection
The page references.
selector
Type: EPiServer.Core..::.ILanguageSelector

Return Value

The pages according to the passed in references

See Also