Exemple #1
0
        public void Publish(WebServiceContent content)
        {
            var combined = CombineAddress(content.Address, content.Method);

            _published.Remove(combined);
            _published.Add(combined, new WebServicePublished(content));
        }
Exemple #2
0
 public static void Publish(WebServiceContent content)
 => DefaultApplication.PublishService(content);
Exemple #3
0
 /// <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;
 }