Search Results for

    Show / Hide Table of Contents
    View Source

    Class ModelsGenerationError

    Inheritance
    System.Object
    Namespace: Umbraco.Cms.Infrastructure.ModelsBuilder
    Assembly: Umbraco.Infrastructure.dll
    Syntax
    public sealed class ModelsGenerationError

    Constructors

    View Source

    ModelsGenerationError(IOptionsMonitor<ModelsBuilderSettings>, IHostingEnvironment)

    Initializes a new instance of the ModelsGenerationError class.

    Declaration
    public ModelsGenerationError(IOptionsMonitor<ModelsBuilderSettings> config, IHostingEnvironment hostingEnvironment)
    Parameters
    Type Name Description
    IOptionsMonitor<ModelsBuilderSettings> config
    IHostingEnvironment hostingEnvironment

    Methods

    View Source

    Clear()

    Declaration
    public void Clear()
    View Source

    GetLastError()

    Declaration
    public string GetLastError()
    Returns
    Type Description
    System.String
    View Source

    Report(String, Exception)

    Declaration
    public void Report(string message, Exception e)
    Parameters
    Type Name Description
    System.String message
    Exception e
    • Improve this Doc
    • View Source
    In This Article
    • Constructors
      • ModelsGenerationError(IOptionsMonitor<ModelsBuilderSettings>, IHostingEnvironment)
    • Methods
      • Clear()
      • GetLastError()
      • Report(String, Exception)
    Back to top Copyright © 2016-present Umbraco
    Generated by DocFX