对象模型是对类的一种安排,它通过各种属性和方法公开类的功能。
Object models are an arrangement of classes that expose functionality through various properties and methods.
有一些向代理公开这些类的选项,其中一个选项是直接在代理中导入这些类。
You have a few options for exposing these classes to the agent, one of which is to import the classes directly in the agent.
它们不仅允许检查公开了哪个类和方法用于远程,还可以测试每个方法是否像预期的那样工作。
Not only do they allow you to easily check which classes and methods are exposed for remoting, you can also test that each method is behaving as expected.
应用推荐