Class WebhookEventCollectionBuilderCmsExtensions
Extension methods for WebhookEventCollectionBuilderExtensions.WebhookEventCollectionBuilderCms.
Inheritance
Namespace: Umbraco.Cms.Core.DependencyInjection
Assembly: Umbraco.Core.dll
Syntax
public static class WebhookEventCollectionBuilderCmsExtensions
Methods
View SourceAddContent(WebhookEventCollectionBuilderExtensions.WebhookEventCollectionBuilderCms, Action<WebhookEventCollectionBuilderCmsExtensions.WebhookEventCollectionBuilderCmsContent>)
Adds content webhook events specified in the contentBuilder
action.
Declaration
public static WebhookEventCollectionBuilderExtensions.WebhookEventCollectionBuilderCms AddContent(this WebhookEventCollectionBuilderExtensions.WebhookEventCollectionBuilderCms builder, Action<WebhookEventCollectionBuilderCmsExtensions.WebhookEventCollectionBuilderCmsContent> contentBuilder)
Parameters
Type | Name | Description |
---|---|---|
WebhookEventCollectionBuilderExtensions.WebhookEventCollectionBuilderCms | builder | The builder. |
Action<WebhookEventCollectionBuilderCmsExtensions.WebhookEventCollectionBuilderCmsContent> | contentBuilder | The content builder. |
Returns
Type | Description |
---|---|
WebhookEventCollectionBuilderExtensions.WebhookEventCollectionBuilderCms | The builder. |
AddContent(WebhookEventCollectionBuilderExtensions.WebhookEventCollectionBuilderCms, Boolean)
Adds all available content (including blueprint and version) webhook events.
Declaration
public static WebhookEventCollectionBuilderExtensions.WebhookEventCollectionBuilderCms AddContent(this WebhookEventCollectionBuilderExtensions.WebhookEventCollectionBuilderCms builder, bool onlyDefault = false)
Parameters
Type | Name | Description |
---|---|---|
WebhookEventCollectionBuilderExtensions.WebhookEventCollectionBuilderCms | builder | The builder. |
System.Boolean | onlyDefault | If set to |
Returns
Type | Description |
---|---|
WebhookEventCollectionBuilderExtensions.WebhookEventCollectionBuilderCms | The builder. |
AddContentType(WebhookEventCollectionBuilderExtensions.WebhookEventCollectionBuilderCms)
Adds all available content type (document, media and member type) webhook events.
Declaration
public static WebhookEventCollectionBuilderExtensions.WebhookEventCollectionBuilderCms AddContentType(this WebhookEventCollectionBuilderExtensions.WebhookEventCollectionBuilderCms builder)
Parameters
Type | Name | Description |
---|---|---|
WebhookEventCollectionBuilderExtensions.WebhookEventCollectionBuilderCms | builder | The builder. |
Returns
Type | Description |
---|---|
WebhookEventCollectionBuilderExtensions.WebhookEventCollectionBuilderCms | The builder. |
AddContentType(WebhookEventCollectionBuilderExtensions.WebhookEventCollectionBuilderCms, Action<WebhookEventCollectionBuilderCmsExtensions.WebhookEventCollectionBuilderCmsContentType>)
Adds content type webhook events specified in the contentTypeBuilder
action.
Declaration
public static WebhookEventCollectionBuilderExtensions.WebhookEventCollectionBuilderCms AddContentType(this WebhookEventCollectionBuilderExtensions.WebhookEventCollectionBuilderCms builder, Action<WebhookEventCollectionBuilderCmsExtensions.WebhookEventCollectionBuilderCmsContentType> contentTypeBuilder)
Parameters
Type | Name | Description |
---|---|---|
WebhookEventCollectionBuilderExtensions.WebhookEventCollectionBuilderCms | builder | The builder. |
Action<WebhookEventCollectionBuilderCmsExtensions.WebhookEventCollectionBuilderCmsContentType> | contentTypeBuilder | The content type builder. |
Returns
Type | Description |
---|---|
WebhookEventCollectionBuilderExtensions.WebhookEventCollectionBuilderCms | The builder. |
AddDataType(WebhookEventCollectionBuilderExtensions.WebhookEventCollectionBuilderCms)
Adds the data type webhook events.
Declaration
public static WebhookEventCollectionBuilderExtensions.WebhookEventCollectionBuilderCms AddDataType(this WebhookEventCollectionBuilderExtensions.WebhookEventCollectionBuilderCms builder)
Parameters
Type | Name | Description |
---|---|---|
WebhookEventCollectionBuilderExtensions.WebhookEventCollectionBuilderCms | builder | The builder. |
Returns
Type | Description |
---|---|
WebhookEventCollectionBuilderExtensions.WebhookEventCollectionBuilderCms | The builder. |
AddDefault(WebhookEventCollectionBuilderExtensions.WebhookEventCollectionBuilderCms)
Adds the default webhook events.
Declaration
public static WebhookEventCollectionBuilderExtensions.WebhookEventCollectionBuilderCms AddDefault(this WebhookEventCollectionBuilderExtensions.WebhookEventCollectionBuilderCms builder)
Parameters
Type | Name | Description |
---|---|---|
WebhookEventCollectionBuilderExtensions.WebhookEventCollectionBuilderCms | builder | The builder. |
Returns
Type | Description |
---|---|
WebhookEventCollectionBuilderExtensions.WebhookEventCollectionBuilderCms | The builder. |
Remarks
This is a special subset of webhook events that is added by default.
AddDictionary(WebhookEventCollectionBuilderExtensions.WebhookEventCollectionBuilderCms)
Adds the dictionary webhook events.
Declaration
public static WebhookEventCollectionBuilderExtensions.WebhookEventCollectionBuilderCms AddDictionary(this WebhookEventCollectionBuilderExtensions.WebhookEventCollectionBuilderCms builder)
Parameters
Type | Name | Description |
---|---|---|
WebhookEventCollectionBuilderExtensions.WebhookEventCollectionBuilderCms | builder | The builder. |
Returns
Type | Description |
---|---|
WebhookEventCollectionBuilderExtensions.WebhookEventCollectionBuilderCms | The builder. |
AddDomain(WebhookEventCollectionBuilderExtensions.WebhookEventCollectionBuilderCms)
Adds the domain webhook events.
Declaration
public static WebhookEventCollectionBuilderExtensions.WebhookEventCollectionBuilderCms AddDomain(this WebhookEventCollectionBuilderExtensions.WebhookEventCollectionBuilderCms builder)
Parameters
Type | Name | Description |
---|---|---|
WebhookEventCollectionBuilderExtensions.WebhookEventCollectionBuilderCms | builder | The builder. |
Returns
Type | Description |
---|---|
WebhookEventCollectionBuilderExtensions.WebhookEventCollectionBuilderCms | The builder. |
AddFile(WebhookEventCollectionBuilderExtensions.WebhookEventCollectionBuilderCms)
Adds all available file (partial view, script, stylesheet and template) webhook events.
Declaration
public static WebhookEventCollectionBuilderExtensions.WebhookEventCollectionBuilderCms AddFile(this WebhookEventCollectionBuilderExtensions.WebhookEventCollectionBuilderCms builder)
Parameters
Type | Name | Description |
---|---|---|
WebhookEventCollectionBuilderExtensions.WebhookEventCollectionBuilderCms | builder | The builder. |
Returns
Type | Description |
---|---|
WebhookEventCollectionBuilderExtensions.WebhookEventCollectionBuilderCms | The builder. |
AddFile(WebhookEventCollectionBuilderExtensions.WebhookEventCollectionBuilderCms, Action<WebhookEventCollectionBuilderCmsExtensions.WebhookEventCollectionBuilderCmsFile>)
Adds file webhook events specified in the fileBuilder
action.
Declaration
public static WebhookEventCollectionBuilderExtensions.WebhookEventCollectionBuilderCms AddFile(this WebhookEventCollectionBuilderExtensions.WebhookEventCollectionBuilderCms builder, Action<WebhookEventCollectionBuilderCmsExtensions.WebhookEventCollectionBuilderCmsFile> fileBuilder)
Parameters
Type | Name | Description |
---|---|---|
WebhookEventCollectionBuilderExtensions.WebhookEventCollectionBuilderCms | builder | The builder. |
Action<WebhookEventCollectionBuilderCmsExtensions.WebhookEventCollectionBuilderCmsFile> | fileBuilder | The file builder. |
Returns
Type | Description |
---|---|
WebhookEventCollectionBuilderExtensions.WebhookEventCollectionBuilderCms | The builder. |
AddHealthCheck(WebhookEventCollectionBuilderExtensions.WebhookEventCollectionBuilderCms)
Adds the health check webhook events.
Declaration
public static WebhookEventCollectionBuilderExtensions.WebhookEventCollectionBuilderCms AddHealthCheck(this WebhookEventCollectionBuilderExtensions.WebhookEventCollectionBuilderCms builder)
Parameters
Type | Name | Description |
---|---|---|
WebhookEventCollectionBuilderExtensions.WebhookEventCollectionBuilderCms | builder | The builder. |
Returns
Type | Description |
---|---|
WebhookEventCollectionBuilderExtensions.WebhookEventCollectionBuilderCms | The builder. |
AddLanguage(WebhookEventCollectionBuilderExtensions.WebhookEventCollectionBuilderCms)
Adds the language webhook events.
Declaration
public static WebhookEventCollectionBuilderExtensions.WebhookEventCollectionBuilderCms AddLanguage(this WebhookEventCollectionBuilderExtensions.WebhookEventCollectionBuilderCms builder)
Parameters
Type | Name | Description |
---|---|---|
WebhookEventCollectionBuilderExtensions.WebhookEventCollectionBuilderCms | builder | The builder. |
Returns
Type | Description |
---|---|
WebhookEventCollectionBuilderExtensions.WebhookEventCollectionBuilderCms | The builder. |
AddMedia(WebhookEventCollectionBuilderExtensions.WebhookEventCollectionBuilderCms)
Adds the media webhook events.
Declaration
public static WebhookEventCollectionBuilderExtensions.WebhookEventCollectionBuilderCms AddMedia(this WebhookEventCollectionBuilderExtensions.WebhookEventCollectionBuilderCms builder)
Parameters
Type | Name | Description |
---|---|---|
WebhookEventCollectionBuilderExtensions.WebhookEventCollectionBuilderCms | builder | The builder. |
Returns
Type | Description |
---|---|
WebhookEventCollectionBuilderExtensions.WebhookEventCollectionBuilderCms | The builder. |
AddMember(WebhookEventCollectionBuilderExtensions.WebhookEventCollectionBuilderCms, Action<WebhookEventCollectionBuilderCmsExtensions.WebhookEventCollectionBuilderCmsMember>)
Adds member webhook events specified in the memberBuilder
action.
Declaration
public static WebhookEventCollectionBuilderExtensions.WebhookEventCollectionBuilderCms AddMember(this WebhookEventCollectionBuilderExtensions.WebhookEventCollectionBuilderCms builder, Action<WebhookEventCollectionBuilderCmsExtensions.WebhookEventCollectionBuilderCmsMember> memberBuilder)
Parameters
Type | Name | Description |
---|---|---|
WebhookEventCollectionBuilderExtensions.WebhookEventCollectionBuilderCms | builder | The builder. |
Action<WebhookEventCollectionBuilderCmsExtensions.WebhookEventCollectionBuilderCmsMember> | memberBuilder | The member builder. |
Returns
Type | Description |
---|---|
WebhookEventCollectionBuilderExtensions.WebhookEventCollectionBuilderCms | The builder. |
AddMember(WebhookEventCollectionBuilderExtensions.WebhookEventCollectionBuilderCms, Boolean)
Adds all available member (including member role and member group) webhook events.
Declaration
public static WebhookEventCollectionBuilderExtensions.WebhookEventCollectionBuilderCms AddMember(this WebhookEventCollectionBuilderExtensions.WebhookEventCollectionBuilderCms builder, bool onlyDefault = false)
Parameters
Type | Name | Description |
---|---|---|
WebhookEventCollectionBuilderExtensions.WebhookEventCollectionBuilderCms | builder | The builder. |
System.Boolean | onlyDefault | If set to |
Returns
Type | Description |
---|---|
WebhookEventCollectionBuilderExtensions.WebhookEventCollectionBuilderCms | The builder. |
AddPackage(WebhookEventCollectionBuilderExtensions.WebhookEventCollectionBuilderCms)
Adds the package webhook events.
Declaration
public static WebhookEventCollectionBuilderExtensions.WebhookEventCollectionBuilderCms AddPackage(this WebhookEventCollectionBuilderExtensions.WebhookEventCollectionBuilderCms builder)
Parameters
Type | Name | Description |
---|---|---|
WebhookEventCollectionBuilderExtensions.WebhookEventCollectionBuilderCms | builder | The builder. |
Returns
Type | Description |
---|---|
WebhookEventCollectionBuilderExtensions.WebhookEventCollectionBuilderCms | The builder. |
AddPublicAccess(WebhookEventCollectionBuilderExtensions.WebhookEventCollectionBuilderCms)
Adds the public access webhook events.
Declaration
public static WebhookEventCollectionBuilderExtensions.WebhookEventCollectionBuilderCms AddPublicAccess(this WebhookEventCollectionBuilderExtensions.WebhookEventCollectionBuilderCms builder)
Parameters
Type | Name | Description |
---|---|---|
WebhookEventCollectionBuilderExtensions.WebhookEventCollectionBuilderCms | builder | The builder. |
Returns
Type | Description |
---|---|
WebhookEventCollectionBuilderExtensions.WebhookEventCollectionBuilderCms | The builder. |
AddRelation(WebhookEventCollectionBuilderExtensions.WebhookEventCollectionBuilderCms)
Adds the relation webhook events.
Declaration
public static WebhookEventCollectionBuilderExtensions.WebhookEventCollectionBuilderCms AddRelation(this WebhookEventCollectionBuilderExtensions.WebhookEventCollectionBuilderCms builder)
Parameters
Type | Name | Description |
---|---|---|
WebhookEventCollectionBuilderExtensions.WebhookEventCollectionBuilderCms | builder | The builder. |
Returns
Type | Description |
---|---|
WebhookEventCollectionBuilderExtensions.WebhookEventCollectionBuilderCms | The builder. |
AddRelationType(WebhookEventCollectionBuilderExtensions.WebhookEventCollectionBuilderCms)
Adds the relation type webhook events.
Declaration
public static WebhookEventCollectionBuilderExtensions.WebhookEventCollectionBuilderCms AddRelationType(this WebhookEventCollectionBuilderExtensions.WebhookEventCollectionBuilderCms builder)
Parameters
Type | Name | Description |
---|---|---|
WebhookEventCollectionBuilderExtensions.WebhookEventCollectionBuilderCms | builder | The builder. |
Returns
Type | Description |
---|---|
WebhookEventCollectionBuilderExtensions.WebhookEventCollectionBuilderCms | The builder. |
AddUser(WebhookEventCollectionBuilderExtensions.WebhookEventCollectionBuilderCms, Action<WebhookEventCollectionBuilderCmsExtensions.WebhookEventCollectionBuilderCmsUser>)
Adds user webhook events specified in the userBuilder
action.
Declaration
public static WebhookEventCollectionBuilderExtensions.WebhookEventCollectionBuilderCms AddUser(this WebhookEventCollectionBuilderExtensions.WebhookEventCollectionBuilderCms builder, Action<WebhookEventCollectionBuilderCmsExtensions.WebhookEventCollectionBuilderCmsUser> userBuilder)
Parameters
Type | Name | Description |
---|---|---|
WebhookEventCollectionBuilderExtensions.WebhookEventCollectionBuilderCms | builder | The builder. |
Action<WebhookEventCollectionBuilderCmsExtensions.WebhookEventCollectionBuilderCmsUser> | userBuilder | The user builder. |
Returns
Type | Description |
---|---|
WebhookEventCollectionBuilderExtensions.WebhookEventCollectionBuilderCms | The builder. |
AddUser(WebhookEventCollectionBuilderExtensions.WebhookEventCollectionBuilderCms, Boolean)
Adds all available user (including password, login and user group) webhook events.
Declaration
public static WebhookEventCollectionBuilderExtensions.WebhookEventCollectionBuilderCms AddUser(this WebhookEventCollectionBuilderExtensions.WebhookEventCollectionBuilderCms builder, bool onlyDefault = false)
Parameters
Type | Name | Description |
---|---|---|
WebhookEventCollectionBuilderExtensions.WebhookEventCollectionBuilderCms | builder | The builder. |
System.Boolean | onlyDefault | If set to |
Returns
Type | Description |
---|---|
WebhookEventCollectionBuilderExtensions.WebhookEventCollectionBuilderCms | The builder. |
RemoveDefault(WebhookEventCollectionBuilderExtensions.WebhookEventCollectionBuilderCms)
Removes the default webhook events.
Declaration
public static WebhookEventCollectionBuilderExtensions.WebhookEventCollectionBuilderCms RemoveDefault(this WebhookEventCollectionBuilderExtensions.WebhookEventCollectionBuilderCms builder)
Parameters
Type | Name | Description |
---|---|---|
WebhookEventCollectionBuilderExtensions.WebhookEventCollectionBuilderCms | builder | The builder. |
Returns
Type | Description |
---|---|
WebhookEventCollectionBuilderExtensions.WebhookEventCollectionBuilderCms | The builder. |