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
/// 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.
168
-
/// </summary>
169
-
/// <typeparam name="TComponent">The type of component to generate a stub for.</typeparam>
170
-
/// <remarks>
171
-
/// When <c>ComponentFactories.AddGeneratedStub<MyButton>()</c> is called, a stub component is generated for the component
172
-
/// with the name <c>MyButtonStub</c>. The stub component is added to the <see cref="ComponentFactoryCollection"/> and can be used.
173
-
/// It can also be retrieved via `cut.FindComponent<MyButtonStub>()`.
174
-
/// This call does the same as <c>ComponentFactories.Add<MyButton, MyButtonStub>()</c>.
175
-
/// </remarks>
176
-
#pragma warning disable S2326// Unused type parameters should be removed - this is just the shape for the interceptor
0 commit comments