namespace Umbraco.Core.PropertyEditors
{
///
/// An abstract class representing the model to render a Property Editor's content editor with PreValues
///
/// The type of the PreValue model.
///
internal abstract class EditorModel : EditorModel
where TValueModel : IValueModel, new()
where TPreValueModel : PreValueModel
{
///
/// Constructor
///
/// The pre value options used to construct the editor
protected EditorModel(TPreValueModel preValues)
{
PreValueModel = preValues;
}
///
/// The pre value options used to configure the editor
///
/// The pre value model.
public TPreValueModel PreValueModel { get; protected internal set; }
}
}