コード例 #1
0
 public ServiceWhichDependsOnCircularDependency(IServiceWithCircularDependency1 dependency)
 {
     this.dependency = dependency ?? throw new ArgumentNullException(nameof(dependency));
 }
コード例 #2
0
 public CircularDependency2Impl(IServiceWithCircularDependency1 dependency)
 {
     this.dependency = dependency ?? throw new ArgumentNullException(nameof(dependency));
 }