Class CompositeCriteria<TFilter, TExtension>
The CompositeCriteria class encapsulates the specifications by which platform entities, composed with extension data, should be retrieved.
Inherited Members
Namespace: EPiServer.Social.Common
Assembly: EPiServer.Social.Common.dll
Version: 1.5.4Syntax
public class CompositeCriteria<TFilter, TExtension> : Criteria<TFilter> where TFilter : new()
Type Parameters
| Name | Description |
|---|---|
| TFilter | Type of filter specifications comprising this criteria |
| TExtension | Type of data, applied as an extension of plaftorm entities, by which to filter |
Constructors
CompositeCriteria()
Constructor
Declaration
public CompositeCriteria()
Properties
ExtensionFilter
Gets or sets an expression describing a filter targeting data applied as an extension to a platform entities.
Declaration
public FilterExpression ExtensionFilter { get; set; }
Property Value
| Type | Description |
|---|---|
| FilterExpression |
IncludeSubclasses
Gets or sets a boolean indicating whether the extension data type filter for this criteria should be interpreted as an exact match or may match data which extends it.
A value of true (default) indicates that the desired results will match where the type filter appears in the associated extension data's type hierarchy.
A value of false indicates that the desired results will match where the type filter explicitly matches the associated extension data's type.
Declaration
public bool IncludeSubclasses { get; set; }
Property Value
| Type | Description |
|---|---|
| System.Boolean |