@@ -130,9 +130,11 @@ public PropertyBag newObj()
130130 /// <param name="args">Optional constructor arguments.</param>
131131 /// <returns>A new host object of the specified type.</returns>
132132 /// <remarks>
133+ /// <para>
133134 /// This function is provided for script languages that do not support external
134135 /// instantiation. It is overloaded with <see cref="newObj(object, object[])"/> and
135136 /// selected at runtime if <typeparamref name="T"/> can be used as a type argument.
137+ /// </para>
136138 /// <para>
137139 /// For information about the mapping between host members and script-callable properties
138140 /// and methods, see
@@ -167,10 +169,12 @@ public T newObj<T>(params object[] args)
167169 /// <param name="args">Optional constructor arguments.</param>
168170 /// <returns>A new host object of the specified type.</returns>
169171 /// <remarks>
172+ /// <para>
170173 /// This function is provided for script languages that do not support external
171174 /// instantiation. It is overloaded with <see cref="newObj{T}"/> and selected at runtime if
172175 /// <paramref name="type"/> cannot be used as a type argument. Note that this applies
173176 /// to some host types that support instantiation, such as certain COM/ActiveX types.
177+ /// </para>
174178 /// <para>
175179 /// For information about the mapping between host members and script-callable properties
176180 /// and methods, see
@@ -256,10 +260,12 @@ public object newArr(params int[] lengths)
256260 /// <param name="initValue">An optional initial value for the variable.</param>
257261 /// <returns>A new host variable of the specified type.</returns>
258262 /// <remarks>
263+ /// <para>
259264 /// A host variable is a strongly typed object that holds a value of the specified type.
260265 /// Host variables are useful for passing method arguments by reference. In addition to
261266 /// being generally interchangeable with their stored values, host variables support the
262267 /// following properties:
268+ /// </para>
263269 /// <para>
264270 /// <list type="table">
265271 /// <listheader>
@@ -432,11 +438,13 @@ public object func<T>(int argCount, object scriptFunc)
432438 /// <param name="scriptFunc">The script function for which to create a delegate.</param>
433439 /// <returns>A new delegate that invokes the specified script function and returns its result value.</returns>
434440 /// <remarks>
441+ /// <para>
435442 /// This function creates a delegate that accepts <paramref name="argCount"/> arguments and
436443 /// returns the result of invoking <paramref name="scriptFunc"/>. The type of all
437444 /// parameters and the return value is <see cref="System.Object"/>. Such a delegate is
438445 /// often useful in strongly typed contexts because of
439446 /// <see href="http://msdn.microsoft.com/en-us/library/ms173174(VS.80).aspx">contravariance</see>.
447+ /// </para>
440448 /// <para>
441449 /// For information about the types of result values that script code can return, see
442450 /// <see cref="ScriptEngine.Evaluate(string, bool, string)"/>.
@@ -455,10 +463,12 @@ public object func(int argCount, object scriptFunc)
455463 /// <typeparam name="T">The host type for which to get the <see cref="System.Type"/>.</typeparam>
456464 /// <returns>The <see cref="System.Type"/> for the specified host type.</returns>
457465 /// <remarks>
466+ /// <para>
458467 /// This function is similar to the C#
459468 /// <c><see href="http://msdn.microsoft.com/en-us/library/58918ffs(VS.71).aspx">typeof</see></c>
460469 /// operator. It is overloaded with <see cref="typeOf(object)"/> and selected at runtime if
461470 /// <typeparamref name="T"/> can be used as a type argument.
471+ /// </para>
462472 /// <para>
463473 /// This function throws an exception if the script engine's
464474 /// <see cref="ScriptEngine.AllowReflection"/> property is set to <c>false</c>.
@@ -488,11 +498,13 @@ public Type typeOf<T>()
488498 /// <param name="value">The host type for which to get the <see cref="System.Type"/>.</param>
489499 /// <returns>The <see cref="System.Type"/> for the specified host type.</returns>
490500 /// <remarks>
501+ /// <para>
491502 /// This function is similar to the C#
492503 /// <c><see href="http://msdn.microsoft.com/en-us/library/58918ffs(VS.71).aspx">typeof</see></c>
493504 /// operator. It is overloaded with <see cref="typeOf{T}"/> and selected at runtime if
494505 /// <paramref name="value"/> cannot be used as a type argument. Note that this applies to
495506 /// some host types; examples are static types and overloaded generic type groups.
507+ /// </para>
496508 /// <para>
497509 /// This function throws an exception if the script engine's
498510 /// <see cref="ScriptEngine.AllowReflection"/> property is set to <c>false</c>.
@@ -1454,10 +1466,12 @@ public ExtendedHostFunctions()
14541466 /// <param name="hostTypeArgs">Optional generic type arguments.</param>
14551467 /// <returns>The imported host type.</returns>
14561468 /// <remarks>
1469+ /// <para>
14571470 /// Host types are imported in the form of objects whose properties and methods are bound
14581471 /// to the host type's static members and nested types. If <paramref name="name"/> refers
14591472 /// to a generic type, the corresponding object will be invocable with type arguments to
14601473 /// yield a specific type.
1474+ /// </para>
14611475 /// <para>
14621476 /// For more information about the mapping between host members and script-callable
14631477 /// properties and methods, see
@@ -1496,10 +1510,12 @@ public object type(string name, params object[] hostTypeArgs)
14961510 /// <param name="hostTypeArgs">Optional generic type arguments.</param>
14971511 /// <returns>The imported host type.</returns>
14981512 /// <remarks>
1513+ /// <para>
14991514 /// Host types are imported in the form of objects whose properties and methods are bound
15001515 /// to the host type's static members and nested types. If <paramref name="name"/> refers
15011516 /// to a generic type, the corresponding object will be invocable with type arguments to
15021517 /// yield a specific type.
1518+ /// </para>
15031519 /// <para>
15041520 /// For more information about the mapping between host members and script-callable
15051521 /// properties and methods, see
@@ -1533,10 +1549,12 @@ public object type(string name, string assemblyName, params object[] hostTypeArg
15331549 /// <param name="type">The <see cref="System.Type"/> that specifies the host type to import.</param>
15341550 /// <returns>The imported host type.</returns>
15351551 /// <remarks>
1552+ /// <para>
15361553 /// Host types are imported in the form of objects whose properties and methods are bound
15371554 /// to the host type's static members and nested types. If <paramref name="type"/> refers
15381555 /// to a generic type, the corresponding object will be invocable with type arguments to
15391556 /// yield a specific type.
1557+ /// </para>
15401558 /// <para>
15411559 /// For more information about the mapping between host members and script-callable
15421560 /// properties and methods, see
0 commit comments