View Source
Class TemplateSavingNotification
Inheritance
System.Object
Assembly: Umbraco.Core.dll
Syntax
public class TemplateSavingNotification : SavingNotification<ITemplate>, IStatefulNotification, ICancelableNotification, INotification
Constructors
View Source
TemplateSavingNotification(IEnumerable<ITemplate>, EventMessages)
Declaration
public TemplateSavingNotification(IEnumerable<ITemplate> target, EventMessages messages)
Parameters
View Source
TemplateSavingNotification(IEnumerable<ITemplate>, EventMessages, Boolean, String)
Declaration
public TemplateSavingNotification(IEnumerable<ITemplate> target, EventMessages messages, bool createTemplateForContentType, string contentTypeAlias)
Parameters
Type |
Name |
Description |
IEnumerable<ITemplate> |
target |
|
EventMessages |
messages |
|
System.Boolean |
createTemplateForContentType |
|
System.String |
contentTypeAlias |
|
View Source
TemplateSavingNotification(ITemplate, EventMessages)
Declaration
public TemplateSavingNotification(ITemplate target, EventMessages messages)
Parameters
View Source
TemplateSavingNotification(ITemplate, EventMessages, Boolean, String)
Declaration
public TemplateSavingNotification(ITemplate target, EventMessages messages, bool createTemplateForContentType, string contentTypeAlias)
Parameters
Type |
Name |
Description |
ITemplate |
target |
|
EventMessages |
messages |
|
System.Boolean |
createTemplateForContentType |
|
System.String |
contentTypeAlias |
|
Properties
View Source
ContentTypeAlias
Declaration
public string ContentTypeAlias { get; set; }
Property Value
Type |
Description |
System.String |
|
View Source
CreateTemplateForContentType
Declaration
public bool CreateTemplateForContentType { get; set; }
Property Value
Type |
Description |
System.Boolean |
|