Class WebhookServiceContext
Webhook service context
Implements
Inherited Members
Namespace: PayrollEngine.Client.Service
Assembly: PayrollEngine.Client.Core.dll
Syntax
public class WebhookServiceContext : TenantServiceContext, IServiceContext
Constructors
WebhookServiceContext(ITenant, IWebhook)
Initializes a new instance of the WebhookServiceContext class
Declaration
public WebhookServiceContext(ITenant tenant, IWebhook webhook)
Parameters
| Type | Name | Description |
|---|---|---|
| ITenant | tenant | The tenant |
| IWebhook | webhook | The webhook id |
WebhookServiceContext(int, int)
Initializes a new instance of the WebhookServiceContext class
Declaration
public WebhookServiceContext(int tenantId, int webhookId)
Parameters
| Type | Name | Description |
|---|---|---|
| int | tenantId | The tenant id |
| int | webhookId | The webhook id |
Properties
WebhookId
The webhook id
Declaration
public int WebhookId { get; }
Property Value
| Type | Description |
|---|---|
| int |