Search Results for

    Show / Hide Table of Contents
    View Source

    Class WebhookRequestService

    Inheritance
    System.Object
    Namespace: Umbraco.Cms.Core.Services
    Assembly: Umbraco.Core.dll
    Syntax
    public class WebhookRequestService : IWebhookRequestService

    Constructors

    View Source

    WebhookRequestService(ICoreScopeProvider, IWebhookRequestRepository, IJsonSerializer)

    Declaration
    public WebhookRequestService(ICoreScopeProvider coreScopeProvider, IWebhookRequestRepository webhookRequestRepository, IJsonSerializer jsonSerializer)
    Parameters
    Type Name Description
    ICoreScopeProvider coreScopeProvider
    IWebhookRequestRepository webhookRequestRepository
    IJsonSerializer jsonSerializer

    Methods

    View Source

    CreateAsync(Guid, String, Object)

    Declaration
    public async Task<WebhookRequest> CreateAsync(Guid webhookKey, string eventAlias, object payload)
    Parameters
    Type Name Description
    Guid webhookKey
    System.String eventAlias
    System.Object payload
    Returns
    Type Description
    Task<WebhookRequest>
    View Source

    DeleteAsync(WebhookRequest)

    Declaration
    public async Task DeleteAsync(WebhookRequest webhookRequest)
    Parameters
    Type Name Description
    WebhookRequest webhookRequest
    Returns
    Type Description
    Task
    View Source

    GetAllAsync()

    Declaration
    public Task<IEnumerable<WebhookRequest>> GetAllAsync()
    Returns
    Type Description
    Task<IEnumerable<WebhookRequest>>
    View Source

    UpdateAsync(WebhookRequest)

    Declaration
    public async Task<WebhookRequest> UpdateAsync(WebhookRequest webhookRequest)
    Parameters
    Type Name Description
    WebhookRequest webhookRequest
    Returns
    Type Description
    Task<WebhookRequest>
    • Improve this Doc
    • View Source
    In This Article
    • Constructors
      • WebhookRequestService(ICoreScopeProvider, IWebhookRequestRepository, IJsonSerializer)
    • Methods
      • CreateAsync(Guid, String, Object)
      • DeleteAsync(WebhookRequest)
      • GetAllAsync()
      • UpdateAsync(WebhookRequest)
    Back to top Copyright © 2016-present Umbraco
    Generated by DocFX