protected virtual ServiceEndpoint AddServiceEndpoint(ServiceHost serviceHost, ContractEndpointModel model) { var binding = GetEffectiveBinding(null, serviceHost, string.Empty); return serviceHost.AddServiceEndpoint(model.Contract, binding, string.Empty); }
void IWcfEndpointVisitor.VisitContractEndpoint(ContractEndpointModel model) { serviceEndpoint = builder.AddServiceEndpoint(serviceHost, model); }
void IWcfEndpointVisitor.VisitContractEndpoint(ContractEndpointModel model) { channelCreator = GetChannel(contract); }