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