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 <IAccessorOwner>();
     binder.InjectGadgetTo <ContentAccessor>();
     binder.AddGadgetAs <ContentAccessor>();
 }
Example #3
0
 public void Declare(IInstantiatorBinder binder)
 {
     binder.BindGadgetTo <IOwner>();
     binder.InjectGadgetTo <FrameRecorder>();
     binder.AddGadgetAs <FrameRecorder>();
 }
Example #4
0
 public void Declare(IInstantiatorBinder binder)
 {
     binder.BindGadgetTo <IDocumentOwner>();
     //todo binder.InjectGadgetTo<DebugMenuDocument>();
     binder.AddGadgetAs <DebugMenuDocument>();
 }
Example #5
0
 public void Declare(IInstantiatorBinder binder)
 {
     binder.BindGadgetTo <IOwner>();
     binder.InjectGadgetTo(StateMachineProperty);
     binder.AddGadgetAs <IMachine>();
 }