Class ContentStoreModelCreator
Inheritance
System.Object
ContentStoreModelCreator
Implements
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()
Namespace: EPiServer.Cms.Shell.UI.Rest.Internal
Assembly: EPiServer.Cms.Shell.UI.dll
Version: 11.20.7Syntax
[ServiceConfiguration(typeof(IContentStoreModelCreator))]
public class ContentStoreModelCreator : IContentStoreModelCreator
Constructors
ContentStoreModelCreator(IEnumerable<IModelTransform>)
Declaration
public ContentStoreModelCreator(IEnumerable<IModelTransform> transforms)
Parameters
Type | Name | Description |
---|---|---|
System.Collections.Generic.IEnumerable<IModelTransform> | transforms |
Methods
CreateContentDataStoreModels<TModel>(IEnumerable<IContent>, DefaultQueryParameters)
Declaration
public IEnumerable<TModel> CreateContentDataStoreModels<TModel>(IEnumerable<IContent> content, DefaultQueryParameters queryParameters)
where TModel : ContentDataStoreModelBase, new()
Parameters
Type | Name | Description |
---|---|---|
System.Collections.Generic.IEnumerable<IContent> | content | |
DefaultQueryParameters | queryParameters |
Returns
Type | Description |
---|---|
System.Collections.Generic.IEnumerable<TModel> |
Type Parameters
Name | Description |
---|---|
TModel |