CommandEventArgs.cs 547 B

123456789101112131415161718192021222324
  1. 
  2. using System;
  3. namespace FWindSoft.MVVM
  4. {
  5. /// <summary>
  6. /// 事件参数类
  7. /// </summary>
  8. public class CommandEventArgs : EventArgs
  9. {
  10. private CommandAdapter m_Adapter;
  11. public CommandAdapter Adapter { get { return m_Adapter; } }
  12. private CommandInfo m_Command;
  13. public CommandInfo Command { get { return m_Command; } }
  14. public CommandEventArgs(CommandAdapter adapter, CommandInfo command)
  15. {
  16. m_Adapter = adapter;
  17. m_Command = command;
  18. }
  19. }
  20. }