📜  umbraco 8 composer - 任何代码示例

📅  最后修改于: 2022-03-11 14:57:33.505000             🧑  作者: Mango

代码示例1
public void Initialize()
{
    // subscribe to content service published event
    ContentService.Published += ContentService_Published;
}

private void ContentService_Published(Umbraco.Core.Services.IContentService sender, Umbraco.Core.Events.ContentPublishedEventArgs e)
{
    // the custom code to fire everytime content is published goes here!
}