Table of Contents

Class QueryModifierExtensions

Namespace
Kentico.Xperience.Admin.Base
Assembly
Kentico.Xperience.Admin.Base.dll

Contains extension methods for QueryModifier collection.

public static class QueryModifierExtensions
Inheritance
object
QueryModifierExtensions

Methods

AddModifier(IList<QueryModifier>, Func<ObjectQuery, ObjectQuery>)

Adds the modifier to the collection.

public static IList<QueryModifier> AddModifier(this IList<QueryModifier> collection, Func<ObjectQuery, ObjectQuery> queryModifier)

Parameters

collection IList<QueryModifier>

Modifiers collection.

queryModifier Func<ObjectQuery, ObjectQuery>

Query modifier.

Returns

IList<QueryModifier>

AddModifier(IList<QueryModifier>, Func<ObjectQuery, LoadDataSettings, ObjectQuery>)

Adds the modifier to the collection.

public static IList<QueryModifier> AddModifier(this IList<QueryModifier> collection, Func<ObjectQuery, LoadDataSettings, ObjectQuery> queryModifier)

Parameters

collection IList<QueryModifier>

Modifiers collection.

queryModifier Func<ObjectQuery, LoadDataSettings, ObjectQuery>

Query modifier.

Returns

IList<QueryModifier>

AddModifier(IList<QueryModifier>, Func<ObjectQuery>)

Adds the modifier to the collection.

public static IList<QueryModifier> AddModifier(this IList<QueryModifier> collection, Func<ObjectQuery> queryModifier)

Parameters

collection IList<QueryModifier>

Modifiers collection.

queryModifier Func<ObjectQuery>

Query modifier.

Returns

IList<QueryModifier>