This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[DocumentEventHandler(Include = new[] { "documentTypeA", "documentTypeB" }, Exclude = new[] { "documentTypeC" })] | |
public class DocumentTypeAEventHandler : DocumentEventHandler | |
{ | |
public override void Saved(IContentService contentService, SaveEventArgs<IContent> args) | |
{ | |
// Do stuff | |
} | |
public override void Saving(IContentService contentService, SaveEventArgs<IContent> args) | |
{ | |
// Do stuff | |
} | |
public override void Publishing(IPublishingStrategy strategy, PublishEventArgs<IContent> args) | |
{ | |
// Do stuff | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment