|
34 | 34 | <remarks> |
35 | 35 | <format type="text/markdown"><![CDATA[ |
36 | 36 |
|
37 | | -## Remarks |
| 37 | +## Remarks |
38 | 38 | The specified code item can contain classes, modules, or other source text. |
39 | 39 |
|
40 | 40 | No permissions are required for calling any members of the IVsaCodeItem interface. |
@@ -72,11 +72,11 @@ The script engine implements this interface in order to add code items. |
72 | 72 | <remarks> |
73 | 73 | <format type="text/markdown"><![CDATA[ |
74 | 74 |
|
75 | | -## Remarks |
| 75 | +## Remarks |
76 | 76 | The script engine uses information provided by the AddEventSource method to hook up events to the named event source. It obtains event sources by calling the IVsaSite.GetEventSourceInstance method, which is implemented by the host. The AddEventSource method creates a class that handles events raised by a host-provided object. |
77 | 77 |
|
78 | 78 | > [!NOTE] |
79 | | -> The JScript .NET script engine does not support this method. In cases where the JScript .NET engine must hook up an event, you must do so using a global item. Rather than event sources, the JScript .NET engine uses AppGlobal item types. For more information, see VsaItemType. |
| 79 | +> The JScript .NET script engine does not support this method. In cases where the JScript .NET engine must hook up an event, you must do so using a global item. Rather than event sources, the JScript .NET engine uses AppGlobal item types. For more information, see VsaItemType. |
80 | 80 |
|
81 | 81 |
|
82 | 82 | Within the code item, you can access the event source object by name, and, once accessed, you can write event handlers against the object. The event source type is passed as a string rather than as a Type object to facilitate implementing event sources by unmanaged hosts. |
@@ -114,7 +114,7 @@ For more information about the mechanisms for hooking up events for the script e |
114 | 114 | <remarks> |
115 | 115 | <format type="text/markdown"><![CDATA[ |
116 | 116 |
|
117 | | -## Remarks |
| 117 | +## Remarks |
118 | 118 | Appended source text is not subjected to validation. For this reason, errors, if any, will surface on the next call to the IVsaEngine.Compile method. |
119 | 119 |
|
120 | 120 | The appended source text is provided as a single string. Should the string require any formatting, you must provide this yourself. |
@@ -145,8 +145,8 @@ The appended source text is provided as a single string. Should the string requi |
145 | 145 | <remarks> |
146 | 146 | <format type="text/markdown"><![CDATA[ |
147 | 147 |
|
148 | | -## Remarks |
149 | | -The CodeDOM property is typically generated as part of the compilation step of the script engine, so it is not available until after a call to the IVsaEngine.Compile method. Some VSA implementations may be able to provide the CodeDOM dynamically, without the need for an explicit compilation step, but hosts cannot rely on this behavior. Some script engines, for example, the JScript .NET script engine, do not support this behavior. |
| 148 | +## Remarks |
| 149 | +The CodeDOM property is typically generated as part of the compilation step of the script engine, so it is not available until after a call to the IVsaEngine.Compile method. Some VSA implementations may be able to provide the CodeDOM dynamically, without the need for an explicit compilation step, but hosts cannot rely on this behavior. Some script engines, for example, the JScript .NET script engine, do not support this behavior. |
150 | 150 |
|
151 | 151 | ]]></format> |
152 | 152 | </remarks> |
@@ -177,7 +177,7 @@ The CodeDOM property is typically generated as part of the compilation step of t |
177 | 177 | <remarks> |
178 | 178 | <format type="text/markdown"><![CDATA[ |
179 | 179 |
|
180 | | -## Remarks |
| 180 | +## Remarks |
181 | 181 | Removing an event source does not remove the underlying event handler from source text. Rather, events no longer raise notifications to the event handler. Therefore, you will get a compiler error if you delete an event source but leave the underlying function in the source code. |
182 | 182 |
|
183 | 183 | ]]></format> |
@@ -206,7 +206,7 @@ Removing an event source does not remove the underlying event handler from sourc |
206 | 206 | <remarks> |
207 | 207 | <format type="text/markdown"><![CDATA[ |
208 | 208 |
|
209 | | -## Remarks |
| 209 | +## Remarks |
210 | 210 | When you set this property, the text is not subjected to validation. For this reason, errors, if any, will surface on the next call to the IVsaEngine.Compile method. |
211 | 211 |
|
212 | 212 | The SourceText property returns the source text in one large string, including formatting characters such as carriage returns. |
|
0 commit comments