Example #1
0
 protected override void Because_of()
 {
     _source = new Stuff
     {
         Id = 4,
         Name = "Foo",
         RankCode = "Bar"
     };
     _dest = Mapper.Map<Stuff, StuffView>(_source);
 }
Example #2
0
 protected override void Because_of()
 {
     _source = new Stuff
     {
         Id       = 4,
         Name     = "Foo",
         RankCode = "Bar"
     };
     _dest = Mapper.Map <Stuff, StuffView>(_source);
 }
Example #3
0
        private void Init()
        {
            departmentsView = new DepartmentsView();
            stuffView       = new StuffView();

            deptController = new DepartmentController(departmentsView);
            deptController.AttachView(departmentsView);
            deptController.AttachView(stuffView);
            //stuffController = new StuffController();
        }