To use Delegate, you need to attach some function to it.
要使用委派,你需要一些附加功能,给它。
Do I need to inherit all of my classes, or do I need to use delegate or should I maintain categories?
我需要继承我所有的类,或我需要使用委托或我应该维护类别吗?
Use the .Compile() method to turn the expression tree into a delegate so that you can execute it.
用 .Compile() 方法去将一个表达式树转换为一个委托,然后你可以执行它。
应用推荐