InvokeServiceClient.cs 582 B

1234567891011121314151617181920212223242526
  1. using Aitex.Core.WCF;
  2. using Aitex.Triton160.Common.Interface;
  3. using System;
  4. using System.Collections.Generic;
  5. using System.Linq;
  6. using System.Text;
  7. namespace Aitex.Triton160.UI.Wcf
  8. {
  9. public class InvokeServiceClient : ServiceClientWrapper<IInvokeService>, IInvokeService
  10. {
  11. public InvokeServiceClient()
  12. : base("Client_IInvokeService", "InvokeService")
  13. {
  14. }
  15. public void DoOperation(string operationName, params object[] args)
  16. {
  17. Invoke(svc => { svc.DoOperation(operationName, args); });
  18. }
  19. }
  20. }