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; }
/// <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; }