Пример #1
0
 public Level2(
     [BeanReference] Level1 level1)
 {
 }
 public Level2(
     [BeanReference(ConstructorName = "MyConstructor")] Level1 level1)
 {
 }
Пример #3
0
 public CyclicalDependency(
     [BeanReference] Level1 level1)
 {
     this.level1 = level1;
 }
 public CyclicalDependencyWithNamedConstructor(
     [BeanReference(ConstructorName = "MyConstructor")] Level1 level1)
 {
     this.level1 = level1;
 }