⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 notundoableattribute.cs

📁 C# 版本的一个三层商业架构
💻 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 + -