Пример #1
0
 protected AbstractExporter(IInvoker invoker)
 {
     if (invoker == null)
     {
         throw new Exception("service invoker == null");
     }
     if (invoker.GetInterface() == null)
     {
         throw new Exception("service type == null");
     }
     if (invoker.GetUrl() == null)
     {
         throw new Exception("service url == null");
     }
     _Invoker = invoker;
 }