Class ContentQueryBase
Inheritance
System.Object
ContentQueryBase
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
public abstract class ContentQueryBase : IContentQuery, IRestQuery<IContent>
Constructors
ContentQueryBase(IContentRepository, IContentQueryHelper)
Declaration
protected ContentQueryBase(IContentRepository contentRepository, IContentQueryHelper queryHelper)
Parameters
Properties
DisplayName
Declaration
public virtual string DisplayName { get; }
Property Value
Type |
Description |
System.String |
|
Name
Declaration
public abstract string Name { get; }
Property Value
Type |
Description |
System.String |
|
PlugInAreas
Declaration
public virtual IEnumerable<string> PlugInAreas { get; }
Property Value
Type |
Description |
System.Collections.Generic.IEnumerable<System.String> |
|
Rank
Declaration
public virtual int Rank { get; }
Property Value
Type |
Description |
System.Int32 |
|
SortOrder
Declaration
public virtual int SortOrder { get; }
Property Value
Type |
Description |
System.Int32 |
|
VersionSpecific
Declaration
public virtual bool VersionSpecific { get; }
Property Value
Type |
Description |
System.Boolean |
|
Methods
CanHandleQuery(IQueryParameters)
Declaration
public virtual bool CanHandleQuery(IQueryParameters parameters)
Parameters
Returns
Type |
Description |
System.Boolean |
|
ExecuteQuery(IQueryParameters)
Declaration
public virtual QueryRange<IContent> ExecuteQuery(IQueryParameters parameters)
Parameters
Returns
Filter(IEnumerable<IContent>, ContentQueryParameters)
Declaration
protected virtual IEnumerable<IContent> Filter(IEnumerable<IContent> items, ContentQueryParameters parameters)
Parameters
Returns
Type |
Description |
System.Collections.Generic.IEnumerable<IContent> |
|
GetChildrenByType(Type, ContentReference, ILanguageSelector)
Declaration
protected virtual IEnumerable<IContent> GetChildrenByType(Type type, ContentReference parentLink, ILanguageSelector selector)
Parameters
Returns
Type |
Description |
System.Collections.Generic.IEnumerable<IContent> |
|
GetContent(ContentQueryParameters)
Declaration
protected abstract IEnumerable<IContent> GetContent(ContentQueryParameters parameters)
Parameters
Returns
Type |
Description |
System.Collections.Generic.IEnumerable<IContent> |
|
Range(IEnumerable<IContent>, ContentQueryParameters)
Declaration
protected virtual ContentRange Range(IEnumerable<IContent> items, ContentQueryParameters parameters)
Parameters
Returns
Sort(IEnumerable<IContent>, ContentQueryParameters)
Declaration
protected virtual IEnumerable<IContent> Sort(IEnumerable<IContent> items, ContentQueryParameters parameters)
Parameters
Returns
Type |
Description |
System.Collections.Generic.IEnumerable<IContent> |
|
Implements
Extension Methods