Class ScriptSecurityEventArgs
Script security event arguments.
Inheritance
System.Object
System.EventArgs
ScriptSecurityEventArgs
Namespace: FastReport.Utils
Assembly: FastReport.Base.dll
Syntax
public class ScriptSecurityEventArgs : EventArgs
Constructors
ScriptSecurityEventArgs(Report, String, String[])
Initializes a new instance of the ScriptSecurityEventArgs class.
Declaration
public ScriptSecurityEventArgs(Report report, string script, string[] refs)
Parameters
Type | Name | Description |
---|---|---|
Report | report | Report. |
System.String | script | Report's script. |
System.String[] | refs | Report's references. |
Properties
IsValid
Gets or sets value if script is allowed to compile
Declaration
public bool IsValid { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean |
|
References
Gets the references of script.
Declaration
public string[] References { get; }
Property Value
Type | Description |
---|---|
System.String[] | Script references |
Report
Gets the report.
Declaration
public Report Report { get; }
Property Value
Type | Description |
---|---|
Report | The report. |
ReportLanguage
Gets the report language.
Declaration
public Language ReportLanguage { get; }
Property Value
Type | Description |
---|---|
Language | The report language. |
ReportScript
Gets the report script.
Declaration
public string ReportScript { get; }
Property Value
Type | Description |
---|---|
System.String | The report script. |