Search Results for

    Show / Hide Table of Contents

    Class GetPreCheckWithLoggingDefaultImplementation

    Inheritance
    System.Object
    GetPreCheckWithLoggingDefaultImplementation
    Implements
    IHook<GetPreCheckHookRequest, GetPreCheckHookResponse>
    Namespace: DirectScale.Disco.Extension.Hooks.Internal.Testing
    Assembly: DirectScale.Disco.Extension.Abstractions.dll
    Syntax
    public class GetPreCheckWithLoggingDefaultImplementation : Object, IHook<GetPreCheckHookRequest, GetPreCheckHookResponse>

    Constructors

    GetPreCheckWithLoggingDefaultImplementation(ILoggerProvider, IHookIdProvider)

    Declaration
    public GetPreCheckWithLoggingDefaultImplementation(ILoggerProvider loggerProvider, IHookIdProvider hookIdProvider)
    Parameters
    Type Name Description
    Microsoft.Extensions.Logging.ILoggerProvider loggerProvider
    IHookIdProvider hookIdProvider

    Methods

    Invoke(GetPreCheckHookRequest, Func<GetPreCheckHookRequest, Task<GetPreCheckHookResponse>>)

    Declaration
    public Task<GetPreCheckHookResponse> Invoke(GetPreCheckHookRequest request, Func<GetPreCheckHookRequest, Task<GetPreCheckHookResponse>> func)
    Parameters
    Type Name Description
    GetPreCheckHookRequest request
    System.Func<GetPreCheckHookRequest, System.Threading.Tasks.Task<GetPreCheckHookResponse>> func
    Returns
    Type Description
    System.Threading.Tasks.Task<GetPreCheckHookResponse>

    Implements

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