Beispiel #1
0
 public Simulacre(IEar ear, IMouth mouth, ICortex cortex, INerve nerve, ILoggerFactory logFac)
 {
     this.ear = ear;
     this.mouth = mouth;
     this.cortex = cortex;
     this.logger = logFac.GetLogger(this.GetType());
     this.nerve = nerve;
 }
Beispiel #2
0
 /// <summary>
 ///     Creates the brain using Dependency Pattern, that is needed for most mocking frameworks to work.
 /// </summary>
 /// <param name="hand"></param>
 /// <param name="mouth"></param>
 public Brain(IHand hand, IMouth mouth)
 {
     _hand  = hand;
     _mouth = mouth;
 }