DI. How do I create a private instance inside a method?

Topics: Writing modules
Mar 27, 2013 at 11:42 PM
I have a foreach loop inside a method that needs a new instance of IBroadcastGroup for each loop. IBroadcastGroup implements IDependency.

What is the syntax to create a dependency injection instance???