public void Dispose()
 {
     _signal -= OnStarted;
 }
 public Bar(SomethingHappenedSignal signal)
 {
     _signal = signal;
 }
 public void Initialize()
 {
     _signal += OnStarted;
 }
 public Foo(SomethingHappenedSignal signal)
 {
     _signal = signal;
 }
示例#5
0
 public BarSpecial(
     [Inject(Id = "special")]
     SomethingHappenedSignal signal)
 {
     _signal = signal;
 }
示例#6
0
 public Bar(SomethingHappenedSignal signal)
 {
     _signal = signal;
 }
示例#7
0
 public Foo(SomethingHappenedSignal.Trigger trigger)
 {
     _trigger = trigger;
 }
示例#8
0
 public Foo(SomethingHappenedSignal trigger)
 {
     _trigger = trigger;
 }