Show / Hide Table of Contents

    Class JavaScriptResult

    Represents a raw JavaScript response from a controller action.
    Inheritance
    Microsoft.AspNetCore.Mvc.ContentResult
    JavaScriptResult
    Namespace: XploRe.AspNetCore.Mvc
    Assembly: XploRe.AspNetCore.Mvc.dll
    Syntax
    public class JavaScriptResult : ContentResult

    Constructors

    Name Description
    JavaScriptResult() Initialises a new JavaScriptResult response.
    JavaScriptResult(String) Initialises a new JavaScriptResult response with the given JavaScript code.

    Fields

    Name Description
    DefaultContentType The default content-type for JavaScript.
    Back to top Copyright © 2017-2018, xplo.re IT Services, Michael Maier. All rights reserved.