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
/// Registers to the container and returns a substitute for a given concrete class given the explicit constructor parameters.
125
-
/// This is used for concrete classes where NSubstitutes won't be created by default by the container when using Resolve.
126
-
/// For advanced uses consider using directly <see cref="Substitute.For{TService}"/> and then calling <see cref="Provide{TService}(TService)"/> so that type is used on dependencies for other Resolved types.
127
-
/// </summary>
128
-
/// <typeparam name="TService">The type to register and return a substitute for</typeparam>
/// Registers to the container and returns a substitute for a given concrete class using autofac to resolve the constructor parameters.
139
-
/// This is used for concrete classes where NSubstitutes won't be created by default by the container when using Resolve.
140
-
/// For advanced uses consider using directly <see cref="Substitute.For{TService}"/> and then calling <see cref="Provide{TService}(TService)"/> so that type is used on dependencies for other Resolved types.
141
-
/// </summary>
142
-
/// <typeparam name="TService">The type to register and return a substitute for</typeparam>
143
-
/// <param name="parameters">Any constructor parameters that Autofac can't resolve automatically</param>
144
-
/// <returns>The instance resolved from the container</returns>
/// Registers to the container and returns a substitute for a given concrete class given the explicit constructor parameters.
106
+
/// This is used for concrete classes where NSubstitutes won't be created by default by the container when using Resolve.
107
+
/// For advanced uses consider using directly <see cref="Substitute.For{TService}"/> and then calling <see cref="Provide{TService}(TService)"/> so that type is used on dependencies for other Resolved types.
108
+
/// </summary>
109
+
/// <typeparam name="TService">The type to register and return a substitute for</typeparam>
/// Registers to the container and returns a substitute for a given concrete class using autofac to resolve the constructor parameters.
124
+
/// This is used for concrete classes where NSubstitutes won't be created by default by the container when using Resolve.
125
+
/// For advanced uses consider using directly <see cref="Substitute.For{TService}"/> and then calling <see cref="Provide{TService}(TService)"/> so that type is used on dependencies for other Resolved types.
126
+
/// </summary>
127
+
/// <typeparam name="TService">The type to register and return a substitute for</typeparam>
128
+
/// <param name="parameters">Any constructor parameters that Autofac can't resolve automatically</param>
129
+
/// <returns>The current <see cref="AutoSubstituteBuilder"/>.</returns>
0 commit comments