seesharper/LightInject — pull request #55 by hendryten (2013-12-25 09:13:16+00:00)
Title: Add RegisterTo<TService, TTarget> method

Short hand for:
```c#
Register(factory => factory.GetInstance())
```

This is useful for registering a group of interfaces that actually resolve to the same instance registered with a specific lifetime.

The following:
```c#
var container = new ServiceContainer();
container.Register(new PerRequestLifeTime());
container.Register(factory => factory.GetInstance());
container.Register(factory => factory.GetInstance());
```

can now be written in:
```c#
var container = new ServiceContainer();
container.Register(new PerRequestLifeTime());
container.RegisterTo();
container.RegisterTo();
```