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
/// Configures bUnit to use replace all components whose type make the <paramref name="componentTypePredicate"/> predicate return <c>true</c>
89
-
/// with a <see cref="Stub{TComponent}"/> component in the render tree.
90
-
/// </summary>
91
-
/// <param name="factories">The bUnit <see cref="ComponentFactoryCollection"/> to configure.</param>
92
-
/// <param name="componentTypePredicate">The predicate which decides if a component should be replaced with a <see cref="Stub{TComponent}"/> component.</param>
/// Configures bUnit to use replace all components whose type make the <paramref name="componentTypePredicate"/> predicate return <c>true</c>
104
-
/// with a <see cref="Stub{TComponent}"/> component in the render tree.
105
-
/// </summary>
106
-
/// <param name="factories">The bUnit <see cref="ComponentFactoryCollection"/> to configure.</param>
107
-
/// <param name="componentTypePredicate">The predicate which decides if a component should be replaced with a <see cref="Stub{TComponent}"/> component.</param>
108
-
/// <param name="replacementTemplate">Optional replacement template that will be used to render output instead of the stubbed out component.</param>
ps => b =>b.AddMarkupContent(0,replacementTemplate(ps)));
118
-
119
-
/// <summary>
120
-
/// Configures bUnit to use replace all components whose type make the <paramref name="componentTypePredicate"/> predicate return <c>true</c>
121
-
/// with a <see cref="Stub{TComponent}"/> component in the render tree.
122
-
/// </summary>
123
-
/// <param name="factories">The bUnit <see cref="ComponentFactoryCollection"/> to configure.</param>
124
-
/// <param name="componentTypePredicate">The predicate which decides if a component should be replaced with a <see cref="Stub{TComponent}"/> component.</param>
125
-
/// <param name="replacementTemplate">Optional replacement template that will be used to render output instead of the stubbed out component.</param>
/// Configures bUnit to use replace all components whose type make the <paramref name="componentTypePredicate"/> predicate return <c>true</c>
68
+
/// with a <see cref="Stub{TComponent}"/> component in the render tree.
69
+
/// </summary>
70
+
/// <param name="factories">The bUnit <see cref="ComponentFactoryCollection"/> to configure.</param>
71
+
/// <param name="componentTypePredicate">The predicate which decides if a component should be replaced with a <see cref="Stub{TComponent}"/> component.</param>
/// Configures bUnit to use replace all components whose type make the <paramref name="componentTypePredicate"/> predicate return <c>true</c>
83
+
/// with a <see cref="Stub{TComponent}"/> component in the render tree.
84
+
/// </summary>
85
+
/// <param name="factories">The bUnit <see cref="ComponentFactoryCollection"/> to configure.</param>
86
+
/// <param name="componentTypePredicate">The predicate which decides if a component should be replaced with a <see cref="Stub{TComponent}"/> component.</param>
87
+
/// <param name="replacementTemplate">Optional replacement template that will be used to render output instead of the stubbed out component.</param>
ps => b =>b.AddMarkupContent(0,replacementTemplate(ps)));
97
+
98
+
/// <summary>
99
+
/// Configures bUnit to use replace all components whose type make the <paramref name="componentTypePredicate"/> predicate return <c>true</c>
100
+
/// with a <see cref="Stub{TComponent}"/> component in the render tree.
101
+
/// </summary>
102
+
/// <param name="factories">The bUnit <see cref="ComponentFactoryCollection"/> to configure.</param>
103
+
/// <param name="componentTypePredicate">The predicate which decides if a component should be replaced with a <see cref="Stub{TComponent}"/> component.</param>
104
+
/// <param name="replacementTemplate">Optional replacement template that will be used to render output instead of the stubbed out component.</param>
thrownewArgumentException($"The parameter selector '{parameterSelector}' does not resolve to a public property on the component '{typeof(TComponent)}'.",nameof(parameterSelector));
0 commit comments