public ExternalServiceHost(Args args, Type serviceType, params Uri[] baseAddresses)
     : base(serviceType, baseAddresses)
 {
     foreach (var cd in ImplementedContracts.Values)
     {
         cd.Behaviors.Add(new ExternalServiceInstanceProvider(args));
     }
 }
 public ExternalService(Args args)
 {
     this.args = args;
 }
 public ExternalServiceInstanceProvider(Args args)
 {
     this.args = args;
 }