Interface IPartialViewPopulator
Populates the Partial View file system using other sources, such as RCL.
Namespace: Umbraco.Cms.Infrastructure.Templates.PartialViews
Assembly: Umbraco.Infrastructure.dll
Syntax
public interface IPartialViewPopulator
Properties
View SourceCoreEmbeddedPath
Declaration
string CoreEmbeddedPath { get; }
Property Value
Type | Description |
---|---|
System.String |
Methods
View SourceCopyPartialViewIfNotExists(Assembly, String, String)
Copies a partial view from the assembly path within the provided assembly, to the file system path. But only if it does not exist yet.
Declaration
void CopyPartialViewIfNotExists(Assembly assembly, string embeddedPath, string fileSystemPath)
Parameters
Type | Name | Description |
---|---|---|
System.Reflection.Assembly | assembly | The assembly to look for embedded resources in. |
System.String | embeddedPath | Path to resource as assembly path I.E Umbraco.Cms.Core.EmbeddedResources. |
System.String | fileSystemPath | The partial view filesystem path to copy the file to, I.E. /Views/Partials/blockgrid. |
GetCoreAssembly()
Declaration
Assembly GetCoreAssembly()
Returns
Type | Description |
---|---|
System.Reflection.Assembly |