c# - Callback interface inheriting another interface -


i try create "modular" architecture wcf service. hostfunctions (servicecontracts) work, can't apply same scheme callback interfaces.

what want achieve:

public interface icallback : icallbacka, icallbackb { }   public interface icallbacka  {     [operationcontract]      void methoda();  }  public interface icallbackb {        [operationcontract]     void methodb(); }  [servicecontract(callbackcontract = typeof (icallback))] public interface ihostfunctions : ifunctionsa { } 

when , create proxy svcutil.exe, hostfunctions servicecontract attribute. callback interface(s) not included in proxy. here's example of should like: generated proxy callbacks

my generated proxy looks same except including callback interface. can't/mustn't reference service's project in client's project.

how working?


Comments

Popular posts from this blog

javascript - RequestAnimationFrame not working when exiting fullscreen switching space on Safari -

Python ctypes access violation with const pointer arguments -