Search Results for

    Show / Hide Table of Contents

    Class GetShouldSendNotificationWithLoggingDefaultImplementation

    Inheritance
    System.Object
    GetShouldSendNotificationWithLoggingDefaultImplementation
    Implements
    IHook<ShouldSendNotificationHookRequest, ShouldSendNotificationHookResponse>
    Namespace: DirectScale.Disco.Extension.Hooks.Internal.Testing
    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
    Type Name Description
    ShouldSendNotificationHookRequest request
    System.Func<ShouldSendNotificationHookRequest, System.Threading.Tasks.Task<ShouldSendNotificationHookResponse>> func
    Returns
    Type Description
    System.Threading.Tasks.Task<ShouldSendNotificationHookResponse>

    Implements

    IHook<TRequest, TResponse>
    In This Article
    Back to top Copyright © 2022 DirectScale
    Generated by DocFX