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
Thanks for getting in touch. This issue tracker is for bug reports and enhancement requests only - please post your question to Stack Overflow with the 'autofac' tag, we will make every effort to get you on the right track. Cheers!
From Konst...@gmail.com on February 22, 2011 15:16:54
Hi,
I noticed I quite often need to implement composite pattern. For example:
interface IService { ... }
class Service1 : IService { ... }
class Service2 : IService { ... }
class CompositeService : IService
{
public CompositeService(IEnumerable services) { ... }
...
}
I want to register CompositeService as IService in container and have dependencies injected.
(looks somewhat similar to Decorator but decorating set of services instead of only one)
What's the best way to do it in autofac?
Original issue: http://code.google.com/p/autofac/issues/detail?id=297
The text was updated successfully, but these errors were encountered: