You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: src/bunit.generators/Web.Stubs/StubGenerator.cs
+2-2Lines changed: 2 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -27,13 +27,13 @@ public void Initialize(IncrementalGeneratorInitializationContext context)
27
27
public static class ComponentFactoriesExtensions
28
28
{
29
29
/// <summary>
30
-
/// Marks a component as a stub component so that a stub gets generated for it. The stub has the same name as the component, but with the suffix ""Stub"" added.
30
+
/// Marks a component as a stub, so that a stub get is generated for it. The stub has the same name as the component, but with the suffix ""Stub"" added.
31
31
/// </summary>
32
32
/// <typeparam name=""TComponent"">The type of component to generate a stub for.</typeparam>
33
33
/// <remarks>
34
34
/// When <c>ComponentFactories.AddGeneratedStub<MyButton>()</c> is called, a stub component is generated for the component
35
35
/// with the name <c>MyButtonStub</c>. The stub component is added to the <see cref=""ComponentFactoryCollection""/> and can be used.
36
-
/// It can also be retrieved via `cut.FindComponent<MyButtonStub>()`.
36
+
/// It can also be retrieved via <c>cut.FindComponent<MyButtonStub>()</c>.
37
37
/// This call does the same as <c>ComponentFactories.Add<MyButton, MyButtonStub>()</c>.
38
38
/// </remarks>
39
39
public static ComponentFactoryCollection AddGeneratedStub<TComponent>(this ComponentFactoryCollection factories)
0 commit comments