void IWcfEndpointVisitor.VisitServiceEndpoint(ServiceEndpointModel model) { serviceEndpoint = builder.AddServiceEndpoint(serviceHost, model); }
void IWcfEndpointVisitor.VisitServiceEndpoint(ServiceEndpointModel model) { channelCreator = GetChannel(contract, model.ServiceEndpoint); }
protected virtual ServiceEndpoint AddServiceEndpoint(ServiceHost serviceHost, ServiceEndpointModel model) { serviceHost.Description.Endpoints.Add(model.ServiceEndpoint); return(model.ServiceEndpoint); }