Search Results for

    Show / Hide Table of Contents
    View Source

    Class ServerVariablesParser

    Ensures the server variables are included in the outgoing JS script

    Inheritance
    System.Object
    Namespace: Umbraco.Cms.Infrastructure.WebAssets
    Assembly: Umbraco.Infrastructure.dll
    Syntax
    public class ServerVariablesParser

    Constructors

    View Source

    ServerVariablesParser(IEventAggregator)

    Initializes a new instance of the ServerVariablesParser class.

    Declaration
    public ServerVariablesParser(IEventAggregator eventAggregator)
    Parameters
    Type Name Description
    IEventAggregator eventAggregator

    Methods

    View Source

    ParseAsync(Dictionary<String, Object>)

    Ensures the server variables in the dictionary are included in the outgoing JS script

    Declaration
    public async Task<string> ParseAsync(Dictionary<string, object> items)
    Parameters
    Type Name Description
    Dictionary<System.String, System.Object> items
    Returns
    Type Description
    Task<System.String>
    • Improve this Doc
    • View Source
    In This Article
    • Constructors
      • ServerVariablesParser(IEventAggregator)
    • Methods
      • ParseAsync(Dictionary<String, Object>)
    Back to top Copyright © 2016-present Umbraco
    Generated by DocFX