NotificationManager Constructor
Initializes a new instance of the NotificationManager class.
Namespace: Microsoft.Dynamics.Commerce.Runtime.Notifications
Assembly: Microsoft.Dynamics.Commerce.Runtime (in Microsoft.Dynamics.Commerce.Runtime.dll)
Syntax
'Declaration
Public Sub New ( _
handlerMap As Dictionary(Of Type, INotificationHandler), _
defaultNotificationHandler As INotificationHandler _
)
'Usage
Dim handlerMap As Dictionary(Of Type, INotificationHandler)
Dim defaultNotificationHandler As INotificationHandler
Dim instance As New NotificationManager(handlerMap, _
defaultNotificationHandler)
public NotificationManager(
Dictionary<Type, INotificationHandler> handlerMap,
INotificationHandler defaultNotificationHandler
)
public:
NotificationManager(
Dictionary<Type^, INotificationHandler^>^ handlerMap,
INotificationHandler^ defaultNotificationHandler
)
Parameters
- handlerMap
Type: System.Collections.Generic.Dictionary<Type, INotificationHandler>
- defaultNotificationHandler
Type: Microsoft.Dynamics.Commerce.Runtime.Notifications.INotificationHandler