localizations: #1771 Spanish translation and languages codes (#1777)

* #1771 Move translations to a new directory to have more organization

* #1771 spanish translation

* #1771 change the language codes to follow ISO 639-1 and change the links

* #1771 remove country flags
This commit is contained in:
Juan Manuel Abate
2021-06-04 20:36:42 +02:00
committed by GitHub
parent 5e434b783e
commit 784cdee819
67 changed files with 319 additions and 6 deletions

View File

@ -0,0 +1,30 @@
---
layout: pattern
title: Delegation
folder: delegation
permalink: /patterns/delegation/zh
categories: Structural
language: zh
tags:
- Decoupling
---
## 或称
代理模式
## 目的
它是一种让对象将某种行为向外部表达,但实际上将实现该行为的责任委托给关联对象的技术。
## 类图
![alt text](../../delegation/etc/delegation.png "Delegate")
## 适用性
使用委托模式以实现以下目的
* 降低类的耦合性
* 组件的行为相同,但是意识到这种情况将来可能会改变。
## 鸣谢
* [Delegate Pattern: Wikipedia ](https://en.wikipedia.org/wiki/Delegation_pattern)
* [Proxy Pattern: Wikipedia ](https://en.wikipedia.org/wiki/Proxy_pattern)