public ServicesInstance NewInstance(ModuleInstance moduleInstance) { var serviceReferences = new List<ServiceReference>(); foreach (ServiceModel serviceModel in this.serviceModels) { var serviceReferenceInstance = new ServiceReferenceInstance(serviceModel, moduleInstance); serviceReferences.Add(serviceReferenceInstance); } return new ServicesInstance(this, serviceReferences); }
public ServicesInstance NewInstance(ModuleInstance moduleInstance) { var serviceReferences = new List <ServiceReference>(); foreach (ServiceModel serviceModel in this.serviceModels) { var serviceReferenceInstance = new ServiceReferenceInstance(serviceModel, moduleInstance); serviceReferences.Add(serviceReferenceInstance); } return(new ServicesInstance(this, serviceReferences)); }
public ServiceInvocationHandler(ServiceReferenceInstance instance) { this.owner = instance; }