Fires an event in a sequential way. An event handler needs to finish before the next event handler will be called. This method will
return when all the event handlers have finished.
This method will automatically check if there are any event handlers subscribed to handler and it will automatically
propagate the call the the appropriate thread.
Namespace:
Enkoni.Framework.UI.Mvvm
Assembly:
Enkoni.Framework.UI (in Enkoni.Framework.UI.dll) Version: 1.3.0.1
Syntaxpublic static void Fire(
this PropertyChangedEventHandler handler,
Object sender,
PropertyChangedEventArgs e
)
<ExtensionAttribute>
Public Shared Sub Fire (
handler As PropertyChangedEventHandler,
sender As Object,
e As PropertyChangedEventArgs
)
public:
[ExtensionAttribute]
static void Fire(
PropertyChangedEventHandler^ handler,
Object^ sender,
PropertyChangedEventArgs^ e
)
[<ExtensionAttribute>]
static member Fire :
handler : PropertyChangedEventHandler *
sender : Object *
e : PropertyChangedEventArgs -> unit
Parameters
- handler
- Type: System.ComponentModelPropertyChangedEventHandler
The multicast delegate that must be executed. - sender
- Type: SystemObject
The object that triggered the event. - e
- Type: System.ComponentModelPropertyChangedEventArgs
Any metadata that must be passed to the event handlers.
Usage Note
In Visual Basic and C#, you can call this method as an instance method on any object of type
PropertyChangedEventHandler. When you use instance method syntax to call this method, omit the first parameter. For more information, see
Extension Methods (Visual Basic) or
Extension Methods (C# Programming Guide).
See Also