Class AdvancedHandlerInvoker<TItem, THandler>
Represents an event invoker that can raise specified event for each item in collection.
[Obsolete("Class was not intended for public use and will be removed in the next version.")]
[ObsoleteSince(28, 3)]
public sealed class AdvancedHandlerInvoker<TItem, THandler> where THandler : AbstractAdvancedHandler
Type Parameters
TItem
THandler
- Inheritance
-
objectAdvancedHandlerInvoker<TItem, THandler>
- Extension Methods
Methods
Dispose()
Executes Dispose() method for all handlers created within the item iteration.
public void Dispose()
FinishEvents()
Executes FinishEvent(AbstractAdvancedHandler) method for all handlers created within the item iteration.
public void FinishEvents()
StartEvents(IEnumerable<TItem>, Func<TItem, THandler>)
Raise specified event for each item in collection.
public void StartEvents(IEnumerable<TItem> items, Func<TItem, THandler> startFunc)
Parameters
items
IEnumerable<TItem>Items over which the handler iterates.
startFunc
Func<TItem, THandler>Function which starts individual handler iterations.