CommandAttribute.cs 279 B

12345678910111213
  1. 
  2. using System;
  3. namespace FWindSoft.MVVM
  4. {
  5. /// <summary>
  6. /// 特性标记类 标记方法是否是Command方法,控制命令对象的动态生成
  7. /// </summary>
  8. [AttributeUsage(AttributeTargets.Method)]
  9. public class CommandAttribute:Attribute
  10. {
  11. }
  12. }