コード例 #1
0
        public void SetUp()
        {
            controller = new LMTeamEditorController();
            var teamsManager = new TeamsManagerVM();

            teamsManager.LoadedTemplate.Model = LMTeam.DefaultTemplate(5);
            viewModel = teamsManager.TeamEditor;

            controller.SetViewModel(teamsManager);
            controller.Start();
        }
コード例 #2
0
 public override void SetViewModel(IViewModel viewModel)
 {
     teamEditor = ((ILMTeamEditorDealer)viewModel).TeamEditor;
 }