Search Results for

    Show / Hide Table of Contents
    View Source

    Class TemplateSavedNotification

    A notification that is used to trigger the IFileService when the SaveTemplate method is called in the API, after the template has been saved.

    Inheritance
    System.Object
    StatefulNotification
    ObjectNotification<IEnumerable<ITemplate>>
    EnumerableObjectNotification<ITemplate>
    SavedNotification<ITemplate>
    Namespace: Umbraco.Cms.Core.Notifications
    Assembly: Umbraco.Core.dll
    Syntax
    public class TemplateSavedNotification : SavedNotification<ITemplate>, IStatefulNotification, INotification

    Constructors

    View Source

    TemplateSavedNotification(IEnumerable<ITemplate>, EventMessages)

    Declaration
    public TemplateSavedNotification(IEnumerable<ITemplate> target, EventMessages messages)
    Parameters
    Type Name Description
    IEnumerable<ITemplate> target
    EventMessages messages
    View Source

    TemplateSavedNotification(ITemplate, EventMessages)

    Declaration
    public TemplateSavedNotification(ITemplate target, EventMessages messages)
    Parameters
    Type Name Description
    ITemplate target
    EventMessages messages

    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
      • TemplateSavedNotification(IEnumerable<ITemplate>, EventMessages)
      • TemplateSavedNotification(ITemplate, EventMessages)
    • Properties
      • ContentTypeAlias
      • CreateTemplateForContentType
    Back to top Copyright © 2016-present Umbraco
    Generated by DocFX