init commit of strongly typed models for implementations of a block editor and the upcoming block list editor
This commit is contained in:
16
src/Umbraco.Core/Models/Blocks/BlockEditorModel.cs
Normal file
16
src/Umbraco.Core/Models/Blocks/BlockEditorModel.cs
Normal file
@@ -0,0 +1,16 @@
|
||||
using System.Collections.Generic;
|
||||
using Umbraco.Core.Models.PublishedContent;
|
||||
|
||||
namespace Umbraco.Core.Models.Blocks
|
||||
{
|
||||
/// <summary>
|
||||
/// The base class for any strongly typed model for a Block editor implementation
|
||||
/// </summary>
|
||||
public abstract class BlockEditorModel
|
||||
{
|
||||
/// <summary>
|
||||
/// The data items of the Block List editor
|
||||
/// </summary>
|
||||
public IEnumerable<IPublishedElement> Data { get; }
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user