public void Publish(WebServiceContent content) { var combined = CombineAddress(content.Address, content.Method); _published.Remove(combined); _published.Add(combined, new WebServicePublished(content)); }
public static void Publish(WebServiceContent content) => DefaultApplication.PublishService(content);
/// <summary> /// Publishes a web service /// </summary> /// <param name="content">Web service settings</param> public void PublishService(WebServiceContent content) { content = content ?? throw new ArgumentNullException(nameof(content)); _published.Publish(content); }
public WebServicePublished(WebServiceContent content) { Factory = content.GetFactory(); ContentType = content.ContentType; }