void IWcfEndpointVisitor.VisitServiceEndpoint(ServiceEndpointModel model)
 {
     serviceEndpoint = builder.AddServiceEndpoint(serviceHost, model);
 }
Пример #2
0
 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);
 }