Class DefaultContentQueryHelper
Inheritance
System.Object
DefaultContentQueryHelper
Inherited Members
System.Object.ToString()
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
Assembly: EPiServer.Cms.Shell.UI.dll
Version: 11.20.7
Syntax
[ServiceConfiguration(typeof(IContentQueryHelper))]
public class DefaultContentQueryHelper : IContentQueryHelper
Constructors
DefaultContentQueryHelper(IContentRepository, IContentProviderManager, MissingContentLanguageInformationResolver, UIDescriptorRegistry, LanguageResolver)
Declaration
public DefaultContentQueryHelper(IContentRepository contentRepository, IContentProviderManager contentProviderManager, MissingContentLanguageInformationResolver contentLanguageInformationResolver, UIDescriptorRegistry uiDescriptorRegistry, LanguageResolver languageResolver)
Parameters
Methods
ApplyRange(IEnumerable<IContent>, ItemRange)
Declaration
public virtual ContentRange ApplyRange(IEnumerable<IContent> items, ItemRange requestedRange)
Parameters
Type |
Name |
Description |
System.Collections.Generic.IEnumerable<IContent> |
items |
|
ItemRange |
requestedRange |
|
Returns
FilterAccess(IEnumerable<IContent>, AccessLevel)
Declaration
public virtual IEnumerable<IContent> FilterAccess(IEnumerable<IContent> items, AccessLevel requiredAccess)
Parameters
Type |
Name |
Description |
System.Collections.Generic.IEnumerable<IContent> |
items |
|
AccessLevel |
requiredAccess |
|
Returns
Type |
Description |
System.Collections.Generic.IEnumerable<IContent> |
|
FilterDeletedBy(IEnumerable<IContent>, String)
Declaration
public virtual IEnumerable<IContent> FilterDeletedBy(IEnumerable<IContent> items, string deletedBy)
Parameters
Type |
Name |
Description |
System.Collections.Generic.IEnumerable<IContent> |
items |
|
System.String |
deletedBy |
|
Returns
Type |
Description |
System.Collections.Generic.IEnumerable<IContent> |
|
FilterLanguage(IEnumerable<IContent>, Boolean)
Declaration
public virtual IEnumerable<IContent> FilterLanguage(IEnumerable<IContent> items, bool allLanguages)
Parameters
Type |
Name |
Description |
System.Collections.Generic.IEnumerable<IContent> |
items |
|
System.Boolean |
allLanguages |
|
Returns
Type |
Description |
System.Collections.Generic.IEnumerable<IContent> |
|
FilterNewerPublishedVersion(IEnumerable<IContent>, Nullable<DateTime>)
Declaration
public virtual IEnumerable<IContent> FilterNewerPublishedVersion(IEnumerable<IContent> items, DateTime? requestTime)
Parameters
Type |
Name |
Description |
System.Collections.Generic.IEnumerable<IContent> |
items |
|
System.Nullable<System.DateTime> |
requestTime |
|
Returns
Type |
Description |
System.Collections.Generic.IEnumerable<IContent> |
|
FilterTypeIdentifier(IEnumerable<IContent>, IEnumerable<String>)
Declaration
public virtual IEnumerable<IContent> FilterTypeIdentifier(IEnumerable<IContent> items, IEnumerable<string> typeIdentifiers)
Parameters
Type |
Name |
Description |
System.Collections.Generic.IEnumerable<IContent> |
items |
|
System.Collections.Generic.IEnumerable<System.String> |
typeIdentifiers |
|
Returns
Type |
Description |
System.Collections.Generic.IEnumerable<IContent> |
|
FilterWasteBasket(IEnumerable<IContent>)
Declaration
public virtual IEnumerable<IContent> FilterWasteBasket(IEnumerable<IContent> items)
Parameters
Type |
Name |
Description |
System.Collections.Generic.IEnumerable<IContent> |
items |
|
Returns
Type |
Description |
System.Collections.Generic.IEnumerable<IContent> |
|
Sort(IEnumerable<IContent>, IEnumerable<SortColumn>)
Declaration
public virtual IEnumerable<IContent> Sort(IEnumerable<IContent> items, IEnumerable<SortColumn> sortColumns)
Parameters
Type |
Name |
Description |
System.Collections.Generic.IEnumerable<IContent> |
items |
|
System.Collections.Generic.IEnumerable<SortColumn> |
sortColumns |
|
Returns
Type |
Description |
System.Collections.Generic.IEnumerable<IContent> |
|
Implements
Extension Methods