IProtocolProxy.cs 532 B

123456789101112131415161718
  1. using System;
  2. using System.Collections.Generic;
  3. using System.Linq;
  4. using System.Text;
  5. using System.Threading.Tasks;
  6. namespace WCS.Core
  7. {
  8. public interface IProtocolProxy
  9. {
  10. void Set<T>(string propertyName, T value);
  11. T Get<T>(string propertyName);
  12. T CallReturn<T>(string methodName, params object[] args);
  13. void CallVoid(string methodName, params object[] args);
  14. void AddEvent(string eventName, Delegate delgate);
  15. void RemoveEvent(string eventName, Delegate delgate);
  16. }
  17. }