第一个方法只是设置要访问的目标对象。
这三个方法都接受转换环境对象,可以查询它们来访问源和目标对象。
Each of these methods accepts a transformation context object that can be queried to gain access to the source and target objects.
确保目标对象及其子类可以访问工厂方法。
Assure that the factory method is accessible to the target object and its subclasses.
这会让它们“理解”它们的上下文,访问甚至修改目标对象以及入参。
This will allow them to "understand" their context, to access and even modify properties on the target Object and the incoming parameters.
它的主要目标是从xsd文件中生成兼容LINQ的对象模型,让开发人员在访问XML数据的时候可以进行一定的静态类型检查。
Its primary purpose is to produce LINQ-compatible object models from XSD files, giving developers some measure of static type checking while accessing XML data.
执行createTarget()方法的第一步,是访问转换此部分的资源以及目标对象。
The first step you usually perform when implementing the createTarget() method is to access the source and target objects for this part of the transformation.
其中每一个方法接受一个transformationcontextobject,您可以对它进行查询,以获取对资源以及目标对象的访问权。
Each of these methods accepts a transformation context object, which you can query to gain access to the source and target objects.
要重用面向对象的代码,您要将目标代码提取(extract)到另一个类中,然后再用继承来访问它。
To reuse object-oriented code, you extract the target code into another class, then use inheritance to access it.
Facade的目标是为了简化并集中对底层command对象的访问,从而使这些command更容易作为用WSDL 描述的Web服务而被访问。
The goal of the facade is to simplify and centralize access to the underlying command objects in order to make those commands more accessible as a WSDL-described Web service.
访问控制拦截器能够保证调用请求在对目标对象调用操作之前进行拦截并执行访问控制策略。
The interceptor can ensure that access control will occur before any request gets to the server operation.
访问控制拦截器能够保证调用请求在对目标对象调用操作之前进行拦截并执行访问控制策略。
The interceptor can ensure that access control will occur before any request gets to the server operation.
应用推荐