Class CSharpVsaCodeItem
Summary description for CSharpCodeItem.
Implements
Microsoft.Vsa.IVsaCodeItem
Microsoft.Vsa.IVsaItem
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()
Namespace: Syncfusion.Scripting
Assembly: Syncfusion.Scripting.Base.dll
Syntax
public class CSharpVsaCodeItem : CSharpVsaItem, IVsaCodeItem, IVsaItem
Constructors
CSharpVsaCodeItem(CSharpScriptEngine, String)
Declaration
public CSharpVsaCodeItem(CSharpScriptEngine engine, string name)
Parameters
Type | Name | Description |
---|---|---|
CSharpScriptEngine | engine | |
System.String | name |
CSharpVsaCodeItem(CSharpScriptEngine, String, VsaItemFlag)
Declaration
public CSharpVsaCodeItem(CSharpScriptEngine engine, string name, VsaItemFlag flag)
Parameters
Type | Name | Description |
---|---|---|
CSharpScriptEngine | engine | |
System.String | name | |
Microsoft.Vsa.VsaItemFlag | flag |
Properties
CodeDOM
Declaration
public CodeObject CodeDOM { get; }
Property Value
Type |
---|
System.CodeDom.CodeObject |
ItemType
Declaration
public override VsaItemType ItemType { get; }
Property Value
Type |
---|
Microsoft.Vsa.VsaItemType |
Overrides
SourceText
Declaration
public string SourceText { get; set; }
Property Value
Type |
---|
System.String |
Methods
AddEventSource(String, String)
Declaration
public void AddEventSource(string eventSourceName, string eventSourceType)
Parameters
Type | Name | Description |
---|---|---|
System.String | eventSourceName | |
System.String | eventSourceType |
AppendSourceText(String)
Declaration
public void AppendSourceText(string text)
Parameters
Type | Name | Description |
---|---|---|
System.String | text |
RemoveEventSource(String)
Declaration
public void RemoveEventSource(string eventSourceName)
Parameters
Type | Name | Description |
---|---|---|
System.String | eventSourceName |
Implements
Microsoft.Vsa.IVsaCodeItem
Microsoft.Vsa.IVsaItem