本文介绍了你将如何实现一个"性状"设计模式在C#中?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我知道这个功能不会在C#中存在,但PHP最近增加了一个功能叫做以及对象甚至会允许暴露通过DLR的动态数据,用动态使用时,使得进入透明的附加属性关键字。

Note: by implementing IDynamicMetaObjectProvider as well the object would even allow to expose the dynamic data through the DLR, making the access to the additional properties transparent when used with the dynamic keyword.

这篇关于你将如何实现一个"性状"设计模式在C#中?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

09-22 23:54