Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
var services = new ServiceCollection();
var container = new Container();
container.Configure(config =>
// Register stuff in container, using the StructureMap APIs...
//Populate the container using the service collection...
var serviceProvider = container.GetInstance<IServiceProvider>();
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment