Exemplo n.º 1
0
 public void AddInteraction(Common.InteractionInjectorList interactions)
 {
     interactions.Add<Computer>(Singleton);
     interactions.AddNoDupTest<Computer>(RandomSingleton);
 }
Exemplo n.º 2
0
 public void AddInteraction(Common.InteractionInjectorList interactions)
 {
     interactions.Replace<HotairBalloon, HotairBalloon.SitInBalloon.Definition>(Singleton);
     interactions.AddNoDupTest<HotairBalloon>(WithSingleton);
 }
Exemplo n.º 3
0
 public void AddInteraction(Common.InteractionInjectorList interactions)
 {
     interactions.AddNoDupTest<SchoolRabbitHole>(new RabbitHole.AttendClassInRabbitHole.Definition(SkillNames.LearnToDrive, SchoolRabbitHole.kClassPaintingCost, SchoolRabbitHole.kClassPaintingDuration));
 }