public MainClass(TextReader @in, TextWriter @out)
 {
     _out = @out;
     _in = @in;
     this.movieRepository = new MovieRepository();
     this.rentalFactory = new RentalFactory(movieRepository);
 }
        public MainClass(TextReader @in, TextWriter @out)
        {
            movieRepository = new MovieRepository();
            var rentalFactory = new RentalFactory(movieRepository);

            console = new MyConsole(@in, @out, rentalFactory);
        }
 public MainClass(TextReader @in, TextWriter @out)
 {
     _out = @out;
     _in  = @in;
     this.movieRepository = new MovieRepository();
     this.rentalFactory   = new RentalFactory(movieRepository);
 }
 public MyConsole(TextReader @in, TextWriter @out, RentalFactory rentalFactory)
 {
     this.@in = @in;
     this.@out = @out;
     this.rentalFactory = rentalFactory;
 }
 public MainClass(TextReader @in, TextWriter @out)
 {
     movieRepository = new MovieRepository();
     var rentalFactory = new RentalFactory(movieRepository);
     console = new MyConsole(@in, @out, rentalFactory);
 }
 public MyConsole(TextReader @in, TextWriter @out, RentalFactory rentalFactory)
 {
     this.@in           = @in;
     this.@out          = @out;
     this.rentalFactory = rentalFactory;
 }