25 lines
586 B
C#
25 lines
586 B
C#
using System;
|
|
using System.Runtime.Serialization;
|
|
using Umbraco.Core.Services;
|
|
|
|
namespace Umbraco.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)
|
|
{ }
|
|
|
|
internal PartialView(string path, Func<File, string> getFileContent)
|
|
: base(path, getFileContent)
|
|
{ }
|
|
|
|
internal PartialViewType ViewType { get; set; }
|
|
}
|
|
} |