init commit of strongly typed models for implementations of a block editor and the upcoming block list editor

This commit is contained in:
Shannon
2020-01-30 17:36:40 +11:00
parent 537674a0b3
commit 772e46b93a
5 changed files with 75 additions and 0 deletions

View 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; }
}
}