IEventService.cs 415 B

12345678910111213141516171819
  1. using System;
  2. using System.Collections.Generic;
  3. using System.Linq;
  4. using System.Text;
  5. using System.ServiceModel;
  6. namespace Aitex.Core.WCF.Interface
  7. {
  8. [ServiceContract(CallbackContract = typeof(IEventServiceCallback))]
  9. public interface IEventService
  10. {
  11. [OperationContract]
  12. bool Register(Guid id);
  13. [OperationContract(IsOneWay = true)]
  14. void UnRegister(Guid id);
  15. }
  16. }