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