Show / Hide Table of Contents

    Method JavaScript

    JavaScript(ControllerBase, String)

    Creates a new JavaScriptResult response object instance from the provided script string.
    Declaration
    public static JavaScriptResult JavaScript(this ControllerBase controller, string script)
    Parameters
    Type Name Description
    Microsoft.AspNetCore.Mvc.ControllerBase controller The Microsoft.AspNetCore.Mvc.ControllerBase instance.
    String script The JavaScript string to initialise the response with.
    Returns
    Type Description
    JavaScriptResult The created JavaScriptResult response object instance.
    Back to top Copyright © 2017-2018, xplo.re IT Services, Michael Maier. All rights reserved.