Skip to content
This repository was archived by the owner on Nov 2, 2018. It is now read-only.

Refactoring registrations to extension methods #109

Merged
merged 1 commit into from
Sep 26, 2014

Conversation

sebastienros
Copy link
Member

Implements #108

@pranavkm
Copy link
Contributor

:shipit:

@pranavkm
Copy link
Contributor

cc @halter73

@@ -12,14 +12,14 @@ namespace Microsoft.Framework.DependencyInjection.Autofac
public static class AutofacRegistration
{
public static void Populate(
ContainerBuilder builder,
this ContainerBuilder builder,
IEnumerable<IServiceDescriptor> descriptors)
{
Populate(builder, descriptors, fallbackServiceProvider: null);
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

builder.Populate(descriptors, fallbackServiceProvider: null);

@halter73
Copy link
Member

I originally wanted the extension method syntax, because I too think it's nice syntactic sugar. I'm pretty sure @lodejard didn't want this though. If @lodejard is OK with this, I say 🚢

@lodejard
Copy link
Contributor

We were being conservative earlier, and wanted to get more experience with how startup looked before finishing the API polish. Seems like a fine time to come back to this and make improvements.

sebastienros added a commit that referenced this pull request Sep 26, 2014
Refactoring registrations to extension methods
@sebastienros sebastienros merged commit 0a3a10c into dev Sep 26, 2014
@pranavkm pranavkm deleted the sebros/registrations branch September 26, 2014 20:28
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants