Files
Umbraco-CMS/src/Umbraco.Core/Models/PartialView.cs
Kenn Jacobsen 976bca456e Remove macros (#15794)
* Remove macros!

* Clean up snippets

* Add migration that deletes all macros

* Review comments
2024-02-29 15:11:06 +01:00

22 lines
439 B
C#

using System.Runtime.Serialization;
namespace Umbraco.Cms.Core.Models;
/// <summary>
/// Represents a Partial View file
/// </summary>
[Serializable]
[DataContract(IsReference = true)]
public class PartialView : File, IPartialView
{
public PartialView(string path)
: this(path, null)
{
}
public PartialView(string path, Func<File, string?>? getFileContent)
: base(path, getFileContent)
{
}
}