public bool IsInResolutionContext(IHandler handler) { return handlerStack.Contains(handler); }
public bool IsBeingResolvedInContext(CreationContext context) { return context.IsInResolutionContext(this); }