Class ScriptWrapper
Summary description for ScriptWrapper.
Inheritance
System.Object
ScriptWrapper
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Assembly: Syncfusion.Scripting.Windows.dll
Syntax
public class ScriptWrapper
Constructors
ScriptWrapper()
Declaration
Methods
AddEventSubscriptionToScript(ScriptLanguages, String, String, String)
Declaration
public static string AddEventSubscriptionToScript(ScriptLanguages language, string scriptcode, string methodname, string eventscript)
Parameters
Type |
Name |
Description |
ScriptLanguages |
language |
|
System.String |
scriptcode |
|
System.String |
methodname |
|
System.String |
eventscript |
|
Returns
GetEventHandlerScript(ScriptLanguages, String, String, String)
Declaration
public static string GetEventHandlerScript(ScriptLanguages language, string classname, string eventname, string argsType)
Parameters
Type |
Name |
Description |
ScriptLanguages |
language |
|
System.String |
classname |
|
System.String |
eventname |
|
System.String |
argsType |
|
Returns
GetEventHandlerScriptByType(ScriptLanguages, String, EventInfo)
Declaration
public static string GetEventHandlerScriptByType(ScriptLanguages language, string classname, EventInfo evInfo)
Parameters
Type |
Name |
Description |
ScriptLanguages |
language |
|
System.String |
classname |
|
System.Reflection.EventInfo |
evInfo |
|
Returns
GetEventSubscriberScript(ScriptLanguages, String, String, String, EventInfo)
Declaration
public static string GetEventSubscriberScript(ScriptLanguages language, string nmespace, string scriptclass, string classname, EventInfo evinfo)
Parameters
Type |
Name |
Description |
ScriptLanguages |
language |
|
System.String |
nmespace |
|
System.String |
scriptclass |
|
System.String |
classname |
|
System.Reflection.EventInfo |
evinfo |
|
Returns
GetEventUnsubscriberScript(ScriptLanguages, String, String, String, EventInfo)
Declaration
public static string GetEventUnsubscriberScript(ScriptLanguages language, string nmespace, string scriptclass, string classname, EventInfo evinfo)
Parameters
Type |
Name |
Description |
ScriptLanguages |
language |
|
System.String |
nmespace |
|
System.String |
scriptclass |
|
System.String |
classname |
|
System.Reflection.EventInfo |
evinfo |
|
Returns
GetLanguageKeywords(ScriptLanguages, out String, out String, out String, out String, out String)
Declaration
public static void GetLanguageKeywords(ScriptLanguages language, out string usingWord, out string usingDelimiter, out string classHeader, out string classFooter, out string inheritDelimiter)
Parameters
Type |
Name |
Description |
ScriptLanguages |
language |
|
System.String |
usingWord |
|
System.String |
usingDelimiter |
|
System.String |
classHeader |
|
System.String |
classFooter |
|
System.String |
inheritDelimiter |
|
GetNewMethodScript(ScriptLanguages, String)
Declaration
public static string GetNewMethodScript(ScriptLanguages language, string methodname)
Parameters
Returns
GetUnwrappedScript(ScriptLanguages, String, ref String, ref String, ref String, String, String)
Declaration
public static string GetUnwrappedScript(ScriptLanguages language, string script, ref string namespacedirective, ref string directives, ref string globalcode, string classname, string baseclassname)
Parameters
Type |
Name |
Description |
ScriptLanguages |
language |
|
System.String |
script |
|
System.String |
namespacedirective |
|
System.String |
directives |
|
System.String |
globalcode |
|
System.String |
classname |
|
System.String |
baseclassname |
|
Returns
GetWrappedScript(ScriptLanguages, String, String, String, String, String, String)
Declaration
public static string GetWrappedScript(ScriptLanguages language, string script, string namespacedirective, string directives, string globalcode, string classname, string baseclassname)
Parameters
Type |
Name |
Description |
ScriptLanguages |
language |
|
System.String |
script |
|
System.String |
namespacedirective |
|
System.String |
directives |
|
System.String |
globalcode |
|
System.String |
classname |
|
System.String |
baseclassname |
|
Returns