For debugging purposes, is there a way to trace what type has been resolved when with what scope by the dependency framework within Asp Net Core?
Looking into IServiceProviderEngineCallback
// Copyright (c) .NET Foundation. All rights reserved.
// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
using System;
namespace Microsoft.Extensions.DependencyInjection.ServiceLookup
{
internal interface IServiceProviderEngineCallback
{
void OnCreate(IServiceCallSite callSite);
void OnResolve(Type serviceType, IServiceScope scope);
}
}
and other internal classes... Is there a way to hook into the "OnResolve"?