Search Results for

    Show / Hide Table of Contents

    Class OnNotificationEventWithLoggingDefaultImplementation

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

    Implements

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