📄 notundoableattribute.cs
字号:
using System;
namespace CSLA
{
/// <summary>
/// Allows us to mark fields that should not be copied as part of the undo process
/// </summary>
/// <remarks>
/// Marking a variable with this attribute will cause the n-level
/// undo process to ignore that variable's value. The value will
/// not be included in a snapshot when BeginEdit is called, nor
/// will it be restored when CancelEdit is called.
/// </remarks>
[AttributeUsage(AttributeTargets.Field)]
public class NotUndoableAttribute : Attribute
{}
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -