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()方法去将一个表达式树转换为一个委托,然后你可以执行它。
In a typical JSF application, you use the managed bean facility to register the CourseAction bean and inject it with its delegate objects, or "dependencies."
在典型的JSF应用程序中,使用托管bean工具来注册CourseAction bean,然后借助其委托对象(或“依赖项”)注入该bean。
They can choose to totally delegate the appointment management or still use an internal reservation system in conjunction with the new one.
他们可以选择完全委托预约管理,或仍然将内部预约系统和新系统同时使用。
When you need more complex logic for an activity than other activities can provide, you can use a snippet activity, which lets you delegate work to a small program that you create.
当您需要的活动逻辑比其他活动能够提供的逻辑更复杂时,您可以使用代码片段活动,它允许您将工作委派给您创建的小程序。
You can use Application templates to delegate additional customizations to more users, to incorporate workflow, and to support policy-based provisioning and workflow operations, without programming.
您可以使用应用程序模板将其他自定义功能委派给更多用户,并集成到工作流中,以便支持基于策略的预置和工作流操作,而且无需编程。
It also provides you with an elegant application model, making heavy use of the delegate pattern to eliminate much of the boilerplate code from your application.
它还向您提供了一个优雅的应用程序模型,利用代理模式来从您的应用程序消除大量重复代码(boilerplatecode)。
To simplify, you will use the same class (such as ListElementViewController) for two methods: view controller and table view delegate.
为了简化,您将对视图控制器和表视图delegate这两种方法使用相同的类(如ListElementViewController)。
Should a custom subclass be desired, it is straightforward to use and delegate the logic to create the graphic effect to an instance of RolloverIcon.
假设想得到定制的子类,那么使用创建图形效果的逻辑并将这个逻辑委托给RolloverIcon的实例是个很简单的做法。
To use the Plan to Delegate table.
《委派选调表》使用方法。
Listing 3 shows the delegate from the last tip, reworked to use the new Validator class.
清单3中重写了上一篇技巧文章中的委派,以使它能使用新的validator类。
With the Validator in place and set up for the specific data types we need to validate, it's a snap to use it in our application, and specifically in our business delegate methods.
针对我们需要验证的特定数据类型,在将Validator置于适当位置并对它作设置之后,在应用程序中使用它就很容易,在我们的业务委派方法中尤其如此。
Is it necessary to declare an object as a delegate to use it as such?
有必要声明一个对象作为一个代表这样使用它?
You should use delegate to update your VC.
你应该使用委托来更新你的风险。
You can use the delegate type to declare a variable that can refer to any method with the same signature as the delegate.
可以使用委托类型来声明一个变量,该变量可以引用与委托签名相同的所有方法。
The event property accessors use the predefined key for the event property to add and remove instances from the delegate collection.
事件属性访问器使用事件属性的预定义键在委托集合中添加和从委托集合中移除实例。
Use this name to search your code for platform invoke or COM signatures that pass that delegate out to unmanaged code.
请使用此名称在您的代码中搜索将该委托外传给非托管代码的平台调用或COM签名。
For use with anonymous methods, the delegate and the code to be associated with it are declared together.
为了与匿名方法一起使用,委托和与之关联的代码必须一起声明。
You use it to specify the argument and return type of the delegate.
用于指定该委托的参数类型和返回类型。
You use it to specify the arguments and return type of the delegate.
用于指定该委托的参数类型和返回类型。
You can use the class as-is or in conjunction with the flow delegate object, which allows you to customize the layout information dynamically.
你可以直接使用这个类或者实现流动代理对象,这样你就可以实现自定义动态布局。
You can use this delegate to represent a method that can be passed as a parameter without explicitly declaring a custom delegate.
您可以使用这个委派表示可做为参数传递的方法,而不必明确宣告自订委派。
You can use this delegate to represent a method that can be passed as a parameter without explicitly declaring a custom delegate.
您可以使用这个委派表示可做为参数传递的方法,而不必明确宣告自订委派。
应用推荐