View Source
Class ContentNotificationExtensions
Inheritance
System.Object
Assembly: Umbraco.Core.dll
Syntax
public static class ContentNotificationExtensions
Methods
View Source
HasPublishedCulture(ContentPublishedNotification, IContent, String)
Determines whether a culture has been published, during a Published notification
Declaration
public static bool HasPublishedCulture(this ContentPublishedNotification notification, IContent content, string culture)
Parameters
Returns
Type |
Description |
System.Boolean |
|
View Source
HasSavedCulture<T>(SavedNotification<T>, T, String)
Determines whether a culture has been saved, during a Saved notification
Declaration
public static bool HasSavedCulture<T>(this SavedNotification<T> notification, T content, string culture)
where T : IContentBase
Parameters
Type |
Name |
Description |
SavedNotification<T> |
notification |
|
T |
content |
|
System.String |
culture |
|
Returns
Type |
Description |
System.Boolean |
|
Type Parameters
View Source
HasUnpublishedCulture(IContent, String)
Declaration
public static bool HasUnpublishedCulture(IContent content, string culture)
Parameters
Type |
Name |
Description |
IContent |
content |
|
System.String |
culture |
|
Returns
Type |
Description |
System.Boolean |
|
View Source
HasUnpublishedCulture(ContentPublishedNotification, IContent, String)
Determines whether a culture has been unpublished, during a Published notification
Declaration
public static bool HasUnpublishedCulture(this ContentPublishedNotification notification, IContent content, string culture)
Parameters
Returns
Type |
Description |
System.Boolean |
|
View Source
HasUnpublishedCulture(ContentUnpublishedNotification, IContent, String)
Determines whether a culture has been unpublished, during an Unpublished notification
Declaration
public static bool HasUnpublishedCulture(this ContentUnpublishedNotification notification, IContent content, string culture)
Parameters
Returns
Type |
Description |
System.Boolean |
|
View Source
IsPublishingCulture(IContent, String)
Declaration
public static bool IsPublishingCulture(IContent content, string culture)
Parameters
Type |
Name |
Description |
IContent |
content |
|
System.String |
culture |
|
Returns
Type |
Description |
System.Boolean |
|
View Source
IsPublishingCulture(ContentPublishingNotification, IContent, String)
Determines whether a culture is being published, during a Publishing notification
Declaration
public static bool IsPublishingCulture(this ContentPublishingNotification notification, IContent content, string culture)
Parameters
Returns
Type |
Description |
System.Boolean |
|
View Source
IsSavingCulture<T>(SavingNotification<T>, T, String)
Determines whether a culture is being saved, during a Saving notification
Declaration
public static bool IsSavingCulture<T>(this SavingNotification<T> notification, T content, string culture)
where T : IContentBase
Parameters
Returns
Type |
Description |
System.Boolean |
|
Type Parameters
View Source
IsUnpublishingCulture(ContentPublishingNotification, IContent, String)
Determines whether a culture is being unpublished, during an Publishing notification
Declaration
public static bool IsUnpublishingCulture(this ContentPublishingNotification notification, IContent content, string culture)
Parameters
Returns
Type |
Description |
System.Boolean |
|
View Source
IsUnpublishingCulture(ContentUnpublishingNotification, IContent, String)
Determines whether a culture is being unpublished, during a Unpublishing notification
Declaration
public static bool IsUnpublishingCulture(this ContentUnpublishingNotification notification, IContent content, string culture)
Parameters
Returns
Type |
Description |
System.Boolean |
|