Skip to content
This repository has been archived by the owner on Jan 24, 2021. It is now read-only.

Removed overload of Dependencies that doesn't work #936

Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
17 changes: 0 additions & 17 deletions src/Nancy.Testing/ConfigurableBootstrapper.cs
Original file line number Diff line number Diff line change
Expand Up @@ -698,23 +698,6 @@ public ConfigurableBootstrapperConfigurator Dependencies<T>(params object[] depe
return this;
}

/// <summary>
/// Configures the bootstrapper to use the provided types as a dependency.
/// </summary>
/// <param name="dependencies">The types that should be used registered as dependencies with the bootstrapper.</param>
/// <returns>A reference to the current <see cref="ConfigurableBootstrapperConfigurator"/>.</returns>
/// <remarks>This method will register the types for all the interfaces they implement and the types themselves.</remarks>
public ConfigurableBootstrapperConfigurator Dependencies(params Type[] dependencies)
{
foreach (var dependency in dependencies)
{
// This is doesn't work
this.Dependency(dependency);
}

return this;
}

/// <summary>
/// Configures the bootstrapper to use the provided types as a dependency.
/// </summary>
Expand Down