Class GetShouldSendNotificationDefaultImplementation
Inheritance
System.Object
GetShouldSendNotificationDefaultImplementation
Namespace: DirectScale.Disco.Extension.Hooks.Internal.Testing
Assembly: DirectScale.Disco.Extension.Abstractions.dll
Syntax
public class GetShouldSendNotificationDefaultImplementation : Object, IHook<ShouldSendNotificationHookRequest, ShouldSendNotificationHookResponse>
Constructors
GetShouldSendNotificationDefaultImplementation()
Declaration
public GetShouldSendNotificationDefaultImplementation()
Methods
Invoke(ShouldSendNotificationHookRequest, Func<ShouldSendNotificationHookRequest, Task<ShouldSendNotificationHookResponse>>)
Declaration
public Task<ShouldSendNotificationHookResponse> Invoke(ShouldSendNotificationHookRequest request, Func<ShouldSendNotificationHookRequest, Task<ShouldSendNotificationHookResponse>> func)
Parameters
| Type | Name | Description |
|---|---|---|
| ShouldSendNotificationHookRequest | request | |
| System.Func<ShouldSendNotificationHookRequest, System.Threading.Tasks.Task<ShouldSendNotificationHookResponse>> | func |
Returns
| Type | Description |
|---|---|
| System.Threading.Tasks.Task<ShouldSendNotificationHookResponse> |