public object BuildNewInSession(Type pluginType, Instance instance) { object returnValue = instance.Build(pluginType, this); if (returnValue == null) { return(null); } try { return(_pipelineGraph.FindInterceptor(returnValue.GetType()).Process(returnValue, this)); } catch (Exception e) { throw new StructureMapException(308, e, instance.Name, returnValue.GetType()); } }
public InstanceInterceptor FindInterceptor(Type concreteType) { return(_parent.FindInterceptor(concreteType)); }