ประโยคภาษาจีน : 中文句子 |
---|
wèi le 为了 ràng 让 gōng zuò 工作 bì xū 必须 yōng yǒu 拥有 yí gè 一个 jiē kǒu 接口 kě yǐ 可以 bǎ 把 zhè ge 这个 jiē kǒu 接口 de 的 jù tǐ 具体 lèi 类 zhù rù 注入 dào 到 xū yào 需要 de 的 xíng wéi 行为 de 的 xiāo fèi zhě 消费者 zhōng 中 |
For DI to work, you must have an interface whose concrete class you can inject into the consumer of the behavior you desire. |