Interface ITemplateModelComparerFactory
Factory responsible for creating a System.Collections.Generic.IComparer<T> for a specific model type.
Namespace: EPiServer.DataAbstraction.RuntimeModel
Assembly: EPiServer.dll
Version: 10.10.4Syntax
public interface ITemplateModelComparerFactory
Methods
Create(Type)
Creates a new System.Collections.Generic.IComparer<T> for the specified model type.
Declaration
IComparer<TemplateModel> Create(Type modelType)
Parameters
Type | Name | Description |
---|---|---|
System.Type | modelType | Type of the model that the comparison should be made on. |
Returns
Type | Description |
---|---|
System.Collections.Generic.IComparer<TemplateModel> | A comparer that can be used to sort TemplateModel instances. |