Search Results for

    Show / Hide Table of Contents
    View Source

    Class TemplateSavingNotification

    Inheritance
    System.Object
    StatefulNotification
    ObjectNotification<IEnumerable<ITemplate>>
    CancelableObjectNotification<IEnumerable<ITemplate>>
    CancelableEnumerableObjectNotification<ITemplate>
    SavingNotification<ITemplate>
    Namespace: Umbraco.Cms.Core.Notifications
    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
    Type Name Description
    IEnumerable<ITemplate> target
    EventMessages messages
    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
    Type Name Description
    ITemplate target
    EventMessages messages
    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
    • Improve this Doc
    • View Source
    In This Article
    • Constructors
      • TemplateSavingNotification(IEnumerable<ITemplate>, EventMessages)
      • TemplateSavingNotification(IEnumerable<ITemplate>, EventMessages, Boolean, String)
      • TemplateSavingNotification(ITemplate, EventMessages)
      • TemplateSavingNotification(ITemplate, EventMessages, Boolean, String)
    • Properties
      • ContentTypeAlias
      • CreateTemplateForContentType
    Back to top Copyright © 2016-present Umbraco
    Generated by DocFX