File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -66,7 +66,7 @@ private static IReactEnvironment Environment
6666 /// <param name="props">Props to initialise the component with</param>
6767 /// <param name="htmlTag">HTML tag to wrap the component in. Defaults to <div></param>
6868 /// <param name="containerId">ID to use for the container HTML tag. Defaults to an auto-generated ID</param>
69- /// <param name="clientOnly">Skip rendering server-side and only output client-side initialisation code. Defaults to false</param>
69+ /// <param name="clientOnly">Skip rendering server-side and only output client-side initialisation code. Defaults to <c> false</c> </param>
7070 /// <returns>The component's HTML</returns>
7171 public static IHtmlString React < T > (
7272 this IHtmlHelper htmlHelper ,
@@ -97,7 +97,7 @@ public static IHtmlString React<T>(
9797 /// <param name="props">Props to initialise the component with</param>
9898 /// <param name="htmlTag">HTML tag to wrap the component in. Defaults to <div></param>
9999 /// <param name="containerId">ID to use for the container HTML tag. Defaults to an auto-generated ID</param>
100- /// <param name="clientOnly">Skip rendering server-side and only output client-side initialisation code. Defaults to false</param>
100+ /// <param name="clientOnly">Skip rendering server-side and only output client-side initialisation code. Defaults to <c> false</c> </param>
101101 /// <returns>The component's HTML</returns>
102102 public static IHtmlString ReactWithInit < T > (
103103 this IHtmlHelper htmlHelper ,
Original file line number Diff line number Diff line change @@ -76,7 +76,7 @@ public void RenderHtmlShouldNotRenderComponentHTML()
7676 {
7777 Props = new { hello = "World" }
7878 } ;
79- var result = component . RenderHtml ( true ) ; // renderContainerOnly = true
79+ var result = component . RenderHtml ( renderContainerOnly : true ) ;
8080
8181 Assert . AreEqual ( @"<div id=""container""></div>" , result ) ;
8282 environment . Verify ( x => x . Execute ( It . IsAny < string > ( ) ) , Times . Never ) ;
You can’t perform that action at this time.
0 commit comments