CompositeActivator 委托
定义
允许在组合期间访问部件和导出实例的委托。The delegate that allows instances of parts and exports to be accessed during composition.
public delegate System::Object ^ CompositeActivator(LifetimeContext ^ context, CompositionOperation ^ operation);
public delegate object CompositeActivator(LifetimeContext context, CompositionOperation operation);
type CompositeActivator = delegate of LifetimeContext * CompositionOperation -> obj
Public Delegate Function CompositeActivator(context As LifetimeContext, operation As CompositionOperation) As Object
参数
- context
- LifetimeContext
正在访问部件或导出的上下文。The context in which the part or export is being accessed.
- operation
- CompositionOperation
正在发生激活的操作。The operation within which the activation is occurring.
返回值
已激活的部件或导出。The activated part or export.
扩展方法
| GetMethodInfo(Delegate) |
获取指示指定委托表示的方法的对象。Gets an object that represents the method represented by the specified delegate. |