Command patternSynopsis or Intent: Encapsulate a request as an object dịch - Command patternSynopsis or Intent: Encapsulate a request as an object Việt làm thế nào để nói

Command patternSynopsis or Intent:

Command pattern
Synopsis or Intent: Encapsulate a request as an object, thereby letting you parameterize clients with different requests, queue or log requests, and support undoable operations
Context: You want to model the time evolution of a program:
What needs to be done, e.g. queued requests, alarms, conditions for action
What is being done, e.g. which parts of a composite or distributed action have been completed
What has been done, e.g. a log of undoable operations
What are some applications that need to support undo?
Editor, calculator, database with transactions
Perform an execute at one time, undo at a different time
Solution: represent units of work as Command objects
Interface of a Command object can be a simple execute() method
Extra methods can support undo and redo
Commands can be persistent and globally accessible, just lik
0/5000
Từ: -
Sang: -
Kết quả (Việt) 1: [Sao chép]
Sao chép!
Command patternSynopsis or Intent: Encapsulate a request as an object, thereby letting you parameterize clients with different requests, queue or log requests, and support undoable operationsContext: You want to model the time evolution of a program: What needs to be done, e.g. queued requests, alarms, conditions for action What is being done, e.g. which parts of a composite or distributed action have been completed What has been done, e.g. a log of undoable operationsWhat are some applications that need to support undo? Editor, calculator, database with transactions Perform an execute at one time, undo at a different timeSolution: represent units of work as Command objects Interface of a Command object can be a simple execute() method Extra methods can support undo and redo Commands can be persistent and globally accessible, just lik
đang được dịch, vui lòng đợi..
Kết quả (Việt) 2:[Sao chép]
Sao chép!
Command pattern
Synopsis or Intent: Encapsulate a request as an object, thereby letting you parameterize clients with different requests, queue or log requests, and support undoable operations
Context: You want to model the time evolution of a program:
What needs to be done, e.g. queued requests, alarms, conditions for action
What is being done, e.g. which parts of a composite or distributed action have been completed
What has been done, e.g. a log of undoable operations
What are some applications that need to support undo?
Editor, calculator, database with transactions
Perform an execute at one time, undo at a different time
Solution: represent units of work as Command objects
Interface of a Command object can be a simple execute() method
Extra methods can support undo and redo
Commands can be persistent and globally accessible, just lik
đang được dịch, vui lòng đợi..
 
Các ngôn ngữ khác
Hỗ trợ công cụ dịch thuật: Albania, Amharic, Anh, Armenia, Azerbaijan, Ba Lan, Ba Tư, Bantu, Basque, Belarus, Bengal, Bosnia, Bulgaria, Bồ Đào Nha, Catalan, Cebuano, Chichewa, Corsi, Creole (Haiti), Croatia, Do Thái, Estonia, Filipino, Frisia, Gael Scotland, Galicia, George, Gujarat, Hausa, Hawaii, Hindi, Hmong, Hungary, Hy Lạp, Hà Lan, Hà Lan (Nam Phi), Hàn, Iceland, Igbo, Ireland, Java, Kannada, Kazakh, Khmer, Kinyarwanda, Klingon, Kurd, Kyrgyz, Latinh, Latvia, Litva, Luxembourg, Lào, Macedonia, Malagasy, Malayalam, Malta, Maori, Marathi, Myanmar, Mã Lai, Mông Cổ, Na Uy, Nepal, Nga, Nhật, Odia (Oriya), Pashto, Pháp, Phát hiện ngôn ngữ, Phần Lan, Punjab, Quốc tế ngữ, Rumani, Samoa, Serbia, Sesotho, Shona, Sindhi, Sinhala, Slovak, Slovenia, Somali, Sunda, Swahili, Séc, Tajik, Tamil, Tatar, Telugu, Thái, Thổ Nhĩ Kỳ, Thụy Điển, Tiếng Indonesia, Tiếng Ý, Trung, Trung (Phồn thể), Turkmen, Tây Ban Nha, Ukraina, Urdu, Uyghur, Uzbek, Việt, Xứ Wales, Yiddish, Yoruba, Zulu, Đan Mạch, Đức, Ả Rập, dịch ngôn ngữ.

Copyright ©2025 I Love Translation. All reserved.

E-mail: