Skip to content

Commit be1070f

Browse files
linkdotnetegil
authored andcommitted
Better docs
1 parent 98fe5e7 commit be1070f

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

src/bunit.generators/Web.Stubs/StubGenerator.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,13 +27,13 @@ public void Initialize(IncrementalGeneratorInitializationContext context)
2727
public static class ComponentFactoriesExtensions
2828
{
2929
/// <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.
3131
/// </summary>
3232
/// <typeparam name=""TComponent"">The type of component to generate a stub for.</typeparam>
3333
/// <remarks>
3434
/// When <c>ComponentFactories.AddGeneratedStub&lt;MyButton&gt;()</c> is called, a stub component is generated for the component
3535
/// 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&lt;MyButtonStub&gt;()`.
36+
/// It can also be retrieved via <c>cut.FindComponent&lt;MyButtonStub&gt;()</c>.
3737
/// This call does the same as <c>ComponentFactories.Add&lt;MyButton, MyButtonStub&gt;()</c>.
3838
/// </remarks>
3939
public static ComponentFactoryCollection AddGeneratedStub<TComponent>(this ComponentFactoryCollection factories)

0 commit comments

Comments
 (0)