예제 #1
0
 public OneNamedSingletonArgs([Parameter(typeof(A))] MustBeSingleton a)
 {
 }
예제 #2
0
 private TwoSingletons(SubSingleton a, MustBeSingleton b)
 {
 }
예제 #3
0
 public RepeatedNamedSingletonArgs([Parameter(typeof(A))] MustBeSingleton a,
                                   [Parameter(typeof(B))] MustBeSingleton b)
 {
 }
예제 #4
0
 private SubSingleton(MustBeSingleton a)
 {
     // Does not call super
 }