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