Class BasePublishingStrategy
Inheritance
System.Object
Namespace:System.Dynamic.ExpandoObject
Assembly:Umbraco.Core.dll
Syntax
[Obsolete("This class is not intended to be used and will be removed in future versions, see IPublishingStrategy instead")]
public abstract class BasePublishingStrategy : IPublishingStrategy
Methods
Publish(IContent, Int32)
Declaration
public abstract bool Publish(IContent content, int userId)
Parameters
Type |
Name |
Description |
IContent |
content |
|
System.Int32 |
userId |
|
Returns
Type |
Description |
System.Boolean |
|
PublishingFinalized(IEnumerable<IContent>, Boolean)
Call to fire event that updating the published content has finalized.
Declaration
public abstract void PublishingFinalized(IEnumerable<IContent> content, bool isAllRepublished)
Parameters
Type |
Name |
Description |
System.Collections.Generic.IEnumerable<IContent> |
content |
An enumerable list of IContent thats being published
|
System.Boolean |
isAllRepublished |
Boolean indicating whether its all content that is republished
|
PublishingFinalized(IContent)
Call to fire event that updating the published content has finalized.
Declaration
public abstract void PublishingFinalized(IContent content)
Parameters
PublishWithChildren(IEnumerable<IContent>, Int32)
Declaration
public abstract bool PublishWithChildren(IEnumerable<IContent> content, int userId)
Parameters
Type |
Name |
Description |
System.Collections.Generic.IEnumerable<IContent> |
content |
|
System.Int32 |
userId |
|
Returns
Type |
Description |
System.Boolean |
|
UnPublish(IEnumerable<IContent>, Int32)
Declaration
public abstract bool UnPublish(IEnumerable<IContent> content, int userId)
Parameters
Type |
Name |
Description |
System.Collections.Generic.IEnumerable<IContent> |
content |
|
System.Int32 |
userId |
|
Returns
Type |
Description |
System.Boolean |
|
UnPublish(IContent, Int32)
Declaration
public abstract bool UnPublish(IContent content, int userId)
Parameters
Type |
Name |
Description |
IContent |
content |
|
System.Int32 |
userId |
|
Returns
Type |
Description |
System.Boolean |
|
UnPublishingFinalized(IEnumerable<IContent>)
Call to fire event that updating the unpublished content has finalized.
Declaration
public abstract void UnPublishingFinalized(IEnumerable<IContent> content)
Parameters
Type |
Name |
Description |
System.Collections.Generic.IEnumerable<IContent> |
content |
An enumerable list of IContent thats being unpublished
|
UnPublishingFinalized(IContent)
Call to fire event that updating the unpublished content has finalized.
Declaration
public abstract void UnPublishingFinalized(IContent content)
Parameters