OEA extended property system-main design class diagram

Source: Internet
Author: User

Limited time, simple and quick completion of this blog ...... (I will not elaborate on many issues here, but mainly record the results .)


* First, the list of requirements to be completed by the entire subsystem:



* It is then the analysis of it and the structure of the entire logical solution.

The "summary" section in the figure illustrates the division of static structures and runtime periods.



* And the following describes how to implement the entire requirement:



* The static structure in the logic scheme mainly depends on the class diagram design below:

The first one is the structure design of the hosting property itself. At that time, only the implementation of the compilation phase attribute was taken into account, and then the implementation of the runtime attribute was added. The two implementation schemes are different. The former uses data, and the latter uses hash tables, mainly to balance performance and dynamics.


The APIs that use managed properties are directly written in the managedpropertyrepository class:


Managed properties are a bottom-layer reusable component. To adapt to the current OEA metadata system, you need to use an ipropertymetaprovider interface to provide data:


The last figure shows how the Extensible property system uses the WPF binding. The entire design is similar to the datatable binding analysis described in the previous blog:

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.