Stashbox by Peter Csajtai

<PackageReference Include="Stashbox" Version="5.8.1" />

 RegistrationDiagnosticsInfo

Details about a registration.
using System; using System.Runtime.CompilerServices; namespace Stashbox.Registration { [System.Runtime.CompilerServices.NullableContext(1)] [System.Runtime.CompilerServices.Nullable(0)] public readonly struct RegistrationDiagnosticsInfo { public readonly Type ServiceType; public readonly Type ImplementationType; [System.Runtime.CompilerServices.Nullable(2)] public readonly object Name; public RegistrationDiagnosticsInfo(Type serviceType, Type implementationType, [System.Runtime.CompilerServices.Nullable(2)] object name) { this = default(RegistrationDiagnosticsInfo); ServiceType = serviceType; ImplementationType = implementationType; Name = name; } public override string ToString() { return string.Format("{0} => {1}, name: {2}", ServiceType.GetDiagnosticsView(), ImplementationType.GetDiagnosticsView(), Name ?? "null"); } } }