IRollbackService Interface

This interface provides a mechanism for rollback support for code generators. Built in support for common operations is supported. Additional rollback functionality can be obtained by providing a rollback action to AddRollbackAction(Action).

Namespace:  Microsoft.AspNet.Scaffolding
Assembly:  Microsoft.AspNet.Scaffolding.12.0 (in Microsoft.AspNet.Scaffolding.12.0.dll)

public interface IRollbackService

The IRollbackService type exposes the following members.

  NameDescription
Public methodAddRollbackActionNotification that a rollback action needs to occur if rollback occurs.
Public methodNewProjectFolderAddedNotification that a new folder was added that may need to be rolled back.
Public methodNewProjectItemAddedNotification that a new file was added that may need to be rolled back.
Public methodProjectItemOverwrittenNotification that an existing file was modified and may need to be rolled back.
Top
Show: