Navigation Menu

Skip to content

Instantly share code, notes, and snippets.

@jeremydmiller
Last active August 29, 2015 13:56
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save jeremydmiller/9062665 to your computer and use it in GitHub Desktop.
Save jeremydmiller/9062665 to your computer and use it in GitHub Desktop.
No default instance specified
No default instance is specified. The current configuration for type StructureMap.Testing.Blogposts.Diagnostics.IDevice is:
=======================================================================================================================================
PluginType Namespace Lifecycle Description Name
---------------------------------------------------------------------------------------------------------------------------------------
IDevice StructureMap.Testing.Blogposts.Diagnostics
Transient StructureMap.Testing.Blogposts.Diagnostics.ADevice
Transient StructureMap.Testing.Blogposts.Diagnostics.BDevice
=======================================================================================================================================
1.) new DeviceUser(*Default of IDevice*)
2.) StructureMap.Testing.Blogposts.Diagnostics.DeviceUser
3.) Instance of StructureMap.Testing.Blogposts.Diagnostics.DeviceUser
4.) new DeviceUserUser(*Default of DeviceUser*)
5.) StructureMap.Testing.Blogposts.Diagnostics.DeviceUserUser
6.) Instance of StructureMap.Testing.Blogposts.Diagnostics.DeviceUserUser
7.) Container.GetInstance(StructureMap.Testing.Blogposts.Diagnostics.DeviceUserUser)
at lambda_method(Closure , IBuildSession , IContext )
Building\BuildPlan.cs(151,0): at StructureMap.Building.BuildPlan.Build(IBuildSession session, IContext context)
BuildSession.cs(108,0): at StructureMap.BuildSession.BuildNewInSession(Type pluginType, Instance instance)
Pipeline\NulloTransientCache.cs(28,0): at StructureMap.Pipeline.NulloTransientCache.Get(Type pluginType, Instance instance, IBuildSession session)
BuildSession.cs(102,0): at StructureMap.BuildSession.ResolveFromLifecycle(Type pluginType, Instance instance)
SessionCache.cs(88,0): at StructureMap.SessionCache.GetObject(Type pluginType, Instance instance, ILifecycle lifecycle)
SessionCache.cs(68,0): at StructureMap.SessionCache.GetDefault(Type pluginType, IPipelineGraph pipelineGraph)
BuildSession.cs(59,0): at StructureMap.BuildSession.GetInstance(Type pluginType)
Container.cs(322,0): at StructureMap.Container.GetInstance(Type pluginType)
Container.cs(187,0): at StructureMap.Container.GetInstance[T]()
Blogposts\Diagnostics\BadConfiguration.cs(32,0): at StructureMap.Testing.Blogposts.Diagnostics.BadConfiguration.no_defaults()
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment