Adding a UserService, which should be fully implemented in a later release. Refactoring usage of the ServiceContext, which is now loosely tied to the HttpContext as its used by the UserService. Refactoring User/Writer on the Content class and interface. Simplifying events and delegates in the publishing strategy.
31 lines
1.2 KiB
C#
31 lines
1.2 KiB
C#
using Umbraco.Core.Models;
|
|
|
|
namespace Umbraco.Core
|
|
{
|
|
//Publishing Events
|
|
public class PublishingEventArgs : System.ComponentModel.CancelEventArgs { }
|
|
public class SendToPublishEventArgs : System.ComponentModel.CancelEventArgs { }
|
|
|
|
//Moving Content Events
|
|
public class MoveEventArgs : System.ComponentModel.CancelEventArgs { }
|
|
public class MoveToTrashEventArgs : System.ComponentModel.CancelEventArgs { }
|
|
|
|
//Copying Content Events
|
|
public class CopyEventArgs : System.ComponentModel.CancelEventArgs
|
|
{
|
|
public int CopyTo { get; set; }
|
|
public IContent NewContent { get; set; }
|
|
}
|
|
|
|
//Rollback Content Event
|
|
public class RollbackEventArgs : System.ComponentModel.CancelEventArgs { }
|
|
|
|
//Content Cache Event args
|
|
public class ContentCacheEventArgs : System.ComponentModel.CancelEventArgs { }
|
|
public class RefreshContentEventArgs : System.ComponentModel.CancelEventArgs { }
|
|
|
|
//Generel eventArgs
|
|
public class DeleteEventArgs : System.ComponentModel.CancelEventArgs { }
|
|
public class SaveEventArgs : System.ComponentModel.CancelEventArgs { }
|
|
public class NewEventArgs : System.ComponentModel.CancelEventArgs { }
|
|
} |