<PackageReference Include="Castle.Windsor" Version="4.1.0" />

CircularDependencyException

Exception throw when a circular dependency is detected
using Castle.Core; using System; using System.Runtime.Serialization; namespace Castle.MicroKernel { [Serializable] public class CircularDependencyException : ComponentResolutionException { public CircularDependencyException(string message) : base(message) { } public CircularDependencyException(string message, Exception innerException) : base(message, innerException) { } public CircularDependencyException(string message, ComponentModel component) : base(message, component) { } protected CircularDependencyException(SerializationInfo info, StreamingContext context) : base(info, context) { } } }