Search Results for

    Show / Hide Table of Contents
    View Source

    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 Source

    CoreEmbeddedPath

    Declaration
    string CoreEmbeddedPath { get; }
    Property Value
    Type Description
    System.String

    Methods

    View Source

    CopyPartialViewIfNotExists(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.

    View Source

    GetCoreAssembly()

    Declaration
    Assembly GetCoreAssembly()
    Returns
    Type Description
    System.Reflection.Assembly
    • Improve this Doc
    • View Source
    In This Article
    • Properties
      • CoreEmbeddedPath
    • Methods
      • CopyPartialViewIfNotExists(Assembly, String, String)
      • GetCoreAssembly()
    Back to top Copyright © 2016-present Umbraco
    Generated by DocFX