Class OnNotificationEventWithLoggingDefaultImplementation
Inheritance
System.Object
OnNotificationEventWithLoggingDefaultImplementation
Assembly: DirectScale.Disco.Extension.Abstractions.dll
Syntax
public class OnNotificationEventWithLoggingDefaultImplementation : Object, IHook<OnNotificationEventHookRequest, OnNotificationEventHookResponse>
Constructors
OnNotificationEventWithLoggingDefaultImplementation(ILoggerProvider, IHookIdProvider)
Declaration
public OnNotificationEventWithLoggingDefaultImplementation(ILoggerProvider loggerProvider, IHookIdProvider hookIdProvider)
Parameters
Type |
Name |
Description |
Microsoft.Extensions.Logging.ILoggerProvider |
loggerProvider |
|
IHookIdProvider |
hookIdProvider |
|
Methods
Invoke(OnNotificationEventHookRequest, Func<OnNotificationEventHookRequest, Task<OnNotificationEventHookResponse>>)
Declaration
public Task<OnNotificationEventHookResponse> Invoke(OnNotificationEventHookRequest request, Func<OnNotificationEventHookRequest, Task<OnNotificationEventHookResponse>> func)
Parameters
Returns
Implements