C # Object-oriented design pattern discussion on--6.prototype prototype mode (creation mode)

Source: Internet
Author: User

Motive (motivation)

In software systems, it is often faced with the creation of "some complex objects". These objects often face drastic changes due to changes in demand, but they have a fairly consistent interface. How to deal with this change? How to isolate "these volatile objects" from "Client programs (using these objects)" so that "client programs that rely on these volatile objects" do not change as demand changes.

Intentions (Intent)

Use the prototype instance to specify the kind of object to create, and then copy the prototypes to create new objects. ----"design mode" GOF

Structure (Structure)

C # Object-oriented design pattern discussion on--6.prototype prototype mode (creation mode)

Related Article

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.