WeakEventManager::GetCurrentManager Method (Type^)
.NET Framework (current version)
Returns the WeakEventManager implementation that is used for the provided type.
Assembly: WindowsBase (in WindowsBase.dll)
Parameters
- managerType
-
Type:
System::Type^
The type to obtain the WeakEventManager for.
ReceiveWeakEvent implementations call this method using their passed managerType. The returned WeakEventManager is then used as the differentiator that determines which event was received, and which private class handler to invoke.
.NET Framework
Available since 3.0
Available since 3.0
Show: