CSLA.NET 6.0.0
CSLA .NET is a software development framework that helps you build a reusable, maintainable object-oriented business layer for your app.
ISupportUndo.cs
Go to the documentation of this file.
1//-----------------------------------------------------------------------
2// <copyright file="ISupportUndo.cs" company="Marimer LLC">
3// Copyright (c) Marimer LLC. All rights reserved.
4// Website: https://cslanet.com
5// </copyright>
6// <summary>Define the common methods used by the UI to </summary>
7//-----------------------------------------------------------------------
8using System;
9using System.ComponentModel;
10
11namespace Csla.Core
12{
24 public interface ISupportUndo
25 {
29 void BeginEdit();
34 void CancelEdit();
38 void ApplyEdit();
39 }
40}
Define the common methods used by the UI to interact with n-level undo.
Definition: ISupportUndo.cs:25
void CancelEdit()
Cancels the current edit process, restoring the object's state to its previous values.
void ApplyEdit()
Commits the current edit process.
void BeginEdit()
Starts a nested edit on the object.