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

Commit

Permalink
Merge pull request #936 from marcusoftnet/RemoveDependeciesMethodThat…
Browse files Browse the repository at this point in the history
…DoesntWork

Removed overload of Dependencies that doesn't
  • Loading branch information
thecodejunkie committed Feb 11, 2013
2 parents 4b28703 + 7fad698 commit 4074287
Showing 1 changed file with 0 additions and 17 deletions.
17 changes: 0 additions & 17 deletions src/Nancy.Testing/ConfigurableBootstrapper.cs
Original file line number Diff line number Diff line change
Expand Up @@ -692,23 +692,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

0 comments on commit 4074287

Please sign in to comment.