Remove macros (#15794)
* Remove macros! * Clean up snippets * Add migration that deletes all macros * Review comments
This commit is contained in:
@@ -9,14 +9,13 @@ namespace Umbraco.Cms.Core.Models;
|
||||
[DataContract(IsReference = true)]
|
||||
public class PartialView : File, IPartialView
|
||||
{
|
||||
public PartialView(PartialViewType viewType, string path)
|
||||
: this(viewType, path, null)
|
||||
public PartialView(string path)
|
||||
: this(path, null)
|
||||
{
|
||||
}
|
||||
|
||||
public PartialView(PartialViewType viewType, string path, Func<File, string?>? getFileContent)
|
||||
: base(path, getFileContent) =>
|
||||
ViewType = viewType;
|
||||
|
||||
public PartialViewType ViewType { get; set; }
|
||||
public PartialView(string path, Func<File, string?>? getFileContent)
|
||||
: base(path, getFileContent)
|
||||
{
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user