public virtual object CreateInstance(Type pluginType, string name) { Instance instance = _pipelineGraph.FindInstance(pluginType, name); if (instance == null) { throw new StructureMapException(200, name, pluginType.FullName); } return(FindObject(pluginType, instance)); }
public Instance FindInstance(Type pluginType, string name) { return(_outer.FindInstance(pluginType, name) ?? _parent.FindInstance(pluginType, name)); }