ICommonOperation.cs 460 B

12345678910111213141516
  1. using System;
  2. using System.Collections.Generic;
  3. using System.Linq;
  4. using System.Text;
  5. namespace Aitex.Core.RT.OperationCenter
  6. {
  7. public interface ICommonOperation
  8. {
  9. void Subscribe<T>(T instance, string keyPrefix = null) where T : class;
  10. void Subscribe(string key, Func<string, object[], bool> op);
  11. bool DoOperation(string operationName, params object[] args);
  12. void Record(string chamberId, string operation);
  13. }
  14. }