Skip to content

ConcatenatedScript constructor

A dynamic script that is formed from the concatenation of other scripts.

public ConcatenatedScript(IEnumerable<Func<string>> scriptParts, string separator = "\r\n;\r\n", 
    Action<IPermissionService, ITextLocalizer>? checkRights = null)
parameter description
scriptParts The script parts.
separator The separator.
checkRights Callback to check permissions for individual scripts.

Exceptions

exception condition
ArgumentNullException Script parts are null.

Remarks

Creates a new instance of the class.

See Also