Search Results for

    Show / Hide Table of Contents
    View Source

    Interface IViewHelper

    Namespace: Umbraco.Cms.Core.IO
    Assembly: Umbraco.Core.dll
    Syntax
    public interface IViewHelper

    Methods

    View Source

    CreateView(ITemplate, Boolean)

    Declaration
    string CreateView(ITemplate t, bool overWrite = false)
    Parameters
    Type Name Description
    ITemplate t
    System.Boolean overWrite
    Returns
    Type Description
    System.String
    View Source

    GetFileContents(ITemplate)

    Declaration
    string GetFileContents(ITemplate t)
    Parameters
    Type Name Description
    ITemplate t
    Returns
    Type Description
    System.String
    View Source

    UpdateViewFile(ITemplate, String)

    Declaration
    string UpdateViewFile(ITemplate t, string currentAlias = null)
    Parameters
    Type Name Description
    ITemplate t
    System.String currentAlias
    Returns
    Type Description
    System.String
    View Source

    ViewExists(ITemplate)

    Declaration
    bool ViewExists(ITemplate t)
    Parameters
    Type Name Description
    ITemplate t
    Returns
    Type Description
    System.Boolean
    View Source

    ViewPath(String)

    Declaration
    string ViewPath(string alias)
    Parameters
    Type Name Description
    System.String alias
    Returns
    Type Description
    System.String
    • Improve this Doc
    • View Source
    In This Article
    • Methods
      • CreateView(ITemplate, Boolean)
      • GetFileContents(ITemplate)
      • UpdateViewFile(ITemplate, String)
      • ViewExists(ITemplate)
      • ViewPath(String)
    Back to top Copyright © 2016-present Umbraco
    Generated by DocFX