Defines the ProjectsController type.
상속: NinjaCoder.MvvmCross.Controllers.BaseController
        public void Initialize()
        {
            AttributesToAvoidReplicating.Add<TypeIdentifierAttribute>();

            this.mockConfigurationService = new Mock<IConfigurationService>();
            this.mockProjectsService = new Mock<IProjectsService>();
            this.mockNugetService = new Mock<INugetService>();
            this.mockVisualStudioService = new Mock<IVisualStudioService>();
            this.mockReadMeService = new Mock<IReadMeService>();
            this.mockSettingsService = new Mock<ISettingsService>();
            this.mockMessageBoxService = new Mock<IMessageBoxService>();
            this.mockingServiceFactory = new Mock<IMockingServiceFactory>();
            this.mockViewModelViewsService = new Mock<IViewModelViewsService>();
            this.mockViewModelAndViewsFactory = new Mock<IViewModelAndViewsFactory>();

            this.mockResolverService = new Mock<IResolverService>();

            this.controller = new ProjectsController(
                this.mockConfigurationService.Object,
                this.mockProjectsService.Object,
                this.mockNugetService.Object,
                this.mockVisualStudioService.Object,
                this.mockReadMeService.Object,
                this.mockSettingsService.Object,
                this.mockMessageBoxService.Object,
                this.mockingServiceFactory.Object,
                this.mockResolverService.Object,
                this.mockViewModelViewsService.Object,
                this.mockViewModelAndViewsFactory.Object);

            //// setup the project service and core project once!
            this.mockProjectService = new Mock<IProjectService>();
            this.mockProject = new Mock<Project>();

            this.mockProjectService.SetupGet(x => x.Project).Returns(this.mockProject.Object);

            this.mockProjectService.SetupGet(x => x.Name).Returns("Hello.Core");

            this.mockVisualStudioService.SetupGet(x => x.CoreProjectService).Returns(this.mockProjectService.Object);
        }
        public void Initialize()
        {
            AttributesToAvoidReplicating.Add<TypeIdentifierAttribute>();

            this.mockProjectsService = new Mock<IProjectsService>();
            this.mockNugetService = new Mock<INugetService>();
            this.mockVisualStudioService = new Mock<IVisualStudioService>();
            this.mockReadMeService = new Mock<IReadMeService>();
            this.mockSettingsService = new Mock<ISettingsService>();
            this.mockMessageBoxService = new Mock<IMessageBoxService>();
            this.mockDialogService = new Mock<IDialogService>();
            this.mockFormsService = new Mock<IFormsService>();
            this.mockFileSystem = new Mock<IFileSystem>();

            this.controller = new ProjectsController(
                this.mockProjectsService.Object,
                this.mockNugetService.Object,
                this.mockVisualStudioService.Object,
                this.mockReadMeService.Object,
                this.mockSettingsService.Object,
                this.mockMessageBoxService.Object,
                this.mockDialogService.Object,
                this.mockFormsService.Object,
                this.mockFileSystem.Object);

            //// setup the project service and core project once!
            this.mockProjectService = new Mock<IProjectService>();
            this.mockProject = new Mock<Project>();

            this.mockProjectService.SetupGet(x => x.Project).Returns(this.mockProject.Object);

            this.mockProjectService.SetupGet(x => x.Name).Returns("Hello.Core");

            this.mockVisualStudioService.SetupGet(x => x.CoreProjectService).Returns(this.mockProjectService.Object);
        }