IActiveable.cs 447 B

123456789101112131415161718192021
  1. namespace XGame.Framework.Interfaces
  2. {
  3. /// <summary>
  4. /// 激活隐藏接口
  5. /// </summary>
  6. public interface IActiveable
  7. {
  8. /// <summary>
  9. /// 激活状态
  10. /// </summary>
  11. bool Active { get; }
  12. /// <summary>
  13. /// 激活
  14. /// </summary>
  15. void Enable(object intent = null);
  16. /// <summary>
  17. /// 隐藏
  18. /// </summary>
  19. void Disable();
  20. }
  21. }