* Remove macros! * Clean up snippets * Add migration that deletes all macros * Review comments
22 lines
439 B
C#
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)
|
|
{
|
|
}
|
|
}
|