Prism 5.0 source code reading design mode

Source: Internet
Author: User

A large number of design patterns are used for applications built by prism or Prism. This article briefly lists the design patterns related to prism.

    • Adapter mode: the prism library applies the adapter mode in region and IOC container.
      1. Contentcontrolregionadapter. CS
      2. Itemscontrolregionadapter. CS
      3. Selectorregionadapter. CS
      4. Unityservicelocatoradapter. CS
      5. Mefservicelocatoradapter. CS
    • Application controller pattern (controller mode ):
    • Command pattern:
    • Dependency injection pattern:
    • Event aggregator pattern:
    • Facada pattern:
    • Inversion of control pattern:
    • Observer pattern:
    • Model-View-viewmodel pattern:
    • Registry pattern:
    • Service locator pattern:
    • Separated interface and plug-in
    • Composite and composite view

Is the application of design patterns in Prism Structure Design:

 

Edit record:

January 11

 

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.