View Source
Class PartialView
Represents a Partial View file
Inheritance
System.Object
Assembly: Umbraco.Core.dll
Syntax
[DataContract(IsReference = true)]
public class PartialView : File, IPartialView, IFile, IEntity, IDeepCloneable, IRememberBeingDirty, ICanBeDirty
Constructors
View Source
PartialView(String)
Declaration
public PartialView(string path)
Parameters
Type |
Name |
Description |
System.String |
path |
|
View Source
PartialView(String, Nullable<Func<File, String>>)
Declaration
public PartialView(string path, Func<File, string>? getFileContent)
Parameters
Type |
Name |
Description |
System.String |
path |
|
System.Nullable<Func<File, System.String>> |
getFileContent |
|