Example #1
0
 public void Declare(IInstantiatorBinder binder)
 {
     binder.BindGadgetTo <IReceiverOwner>();
     binder.InjectGadgetTo <IReceiver>();
     binder.AddGadgetAs <IEmitter>();
     binder.AddGadgetAs <IReceiver>();
 }
Example #2
0
 public void Declare(IInstantiatorBinder binder)
 {
     binder.BindGadgetTo <IOwner>();
     binder.InjectGadgetTo <FrameRecorder>();
     binder.AddGadgetAs <FrameRecorder>();
 }
Example #3
0
 public void Declare(IInstantiatorBinder binder)
 {
     binder.BindGadgetTo <IAccessorOwner>();
     binder.InjectGadgetTo <ContentAccessor>();
     binder.AddGadgetAs <ContentAccessor>();
 }
Example #4
0
 public void Declare(IInstantiatorBinder binder)
 {
     binder.BindGadgetTo <IOwner>();
     binder.InjectGadgetTo(StateMachineProperty);
     binder.AddGadgetAs <IMachine>();
 }