Skip to content

ScriptFile class

namespace: Serenity.Plugins   assembly: Serenity.Net.Core

A plugin script file registration.

public class ScriptFile

Public Members

name description
ScriptFile() The default constructor.
Path { get; set; } Gets or sets the path to the file. Should start with "./" corresponding to the plugin folder.

Remarks

This type is part of a legacy plugin system design and is no longer used by the framework. Use the LayoutScriptFile assembly attribute instead to declare scripts that should be included in the layout.

See Also