C# Class Site.Extensions.Selectors

Exibir arquivo Open project: perploug/JubRazorExtensions

Public Methods

Method Description
OfType ( this content, string contentTypeAlias ) : IQueryable
OfType ( this collection, string contentTypeAlias ) : IQueryable
Random ( this collection ) : Content
Root ( this currentPage ) : Content

Method Details

OfType() public static method

public static OfType ( this content, string contentTypeAlias ) : IQueryable
content this
contentTypeAlias string
return IQueryable

OfType() public static method

public static OfType ( this collection, string contentTypeAlias ) : IQueryable
collection this
contentTypeAlias string
return IQueryable

Random() public static method

public static Random ( this collection ) : Content
collection this
return Content

Root() public static method

public static Root ( this currentPage ) : Content
currentPage this
return Content