public ServiceWhichDependsOnCircularDependency(IServiceWithCircularDependency1 dependency) { this.dependency = dependency ?? throw new ArgumentNullException(nameof(dependency)); }
public CircularDependency2Impl(IServiceWithCircularDependency1 dependency) { this.dependency = dependency ?? throw new ArgumentNullException(nameof(dependency)); }