Presentation is loading. Please wait.

Presentation is loading. Please wait.

Microsoft TechDayshttp://www.techdays.ru Гладких Денис MVP Client App Dev

Similar presentations


Presentation on theme: "Microsoft TechDayshttp://www.techdays.ru Гладких Денис MVP Client App Dev"— Presentation transcript:

1

2 Microsoft TechDayshttp://www.techdays.ru Гладких Денис MVP Client App Dev outcoldman@gmail.com http://twitter.com/outcoldman

3 Microsoft TechDayshttp://www.techdays.ru Модульность, разделение работы Возможность создания Master представления (Shell) http://www.codeplex.com/CompositeWPF

4 Microsoft TechDayshttp://www.techdays.ru View Discovery View-first View Injection View-first Presenter-first

5 Microsoft TechDayshttp://www.techdays.ru Command Delegation DelegateCommand Command Composition CompositeCommand ViewView CommandCommand TargetTarget Execute CanExecute ViewView CommandCommand ViewViewViewView Child Command Associated views Execute и CanExecute вызываются по требованию Command

6 Microsoft TechDayshttp://www.techdays.ru Event ServiceEvent Aggregation PublisherPublisher Event Service PublisherPublisher PublisherPublisher SubscriberSubscriber PublisherPublisher PublisherPublisher PublisherPublisher SubscriberSubscriber SubscriberSubscriber Event Aggregator Service Service

7 Microsoft TechDayshttp://www.techdays.ru Подгрузка: Из директории Кодом Файл конфигураций

8 Microsoft TechDayshttp://www.techdays.ru Register: this.container.RegisterType (); Тип или существующий объект Управление временем жизни: Singleton или instance для Resolve Resolve: public EmployeesPresenter(IEmployeesView view, IEmployeesListPresenter lPresenter, IEmployeesController eController) { … } EmployeesPresenter presenter = this.container.Resolve ();

9 Microsoft TechDayshttp://www.techdays.ru

10 © 2007 Microsoft Corporation. All rights reserved. Microsoft, Windows, Windows Vista and other product names are or may be registered trademarks and/or trademarks in the U.S. and/or other countries. The information herein is for informational purposes only and represents the current view of Microsoft Corporation as of the date of this presentation. Because Microsoft must respond to changing market conditions, it should not be interpreted to be a commitment on the part of Microsoft, and Microsoft cannot guarantee the accuracy of any information provided after the date of this presentation. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.

11


Download ppt "Microsoft TechDayshttp://www.techdays.ru Гладких Денис MVP Client App Dev"

Similar presentations


Ads by Google