Пример #1
0
        public void Publish(BinaryServiceContent content)
        {
            var combined = CombineAddress(content.Address, content.Method);

            _published.Remove(combined);
            _published.Add(combined, new BinaryServicePublished(content));
        }
Пример #2
0
 public BinaryServicePublished(BinaryServiceContent content)
 {
     Factory     = content.GetFactory();
     ContentType = content.ContentType;
 }
Пример #3
0
 /// <summary>
 /// Publishes a web service
 /// </summary>
 /// <param name="content">Binary web service settings</param>
 public void PublishService(BinaryServiceContent content)
 {
     content = content ?? throw new ArgumentNullException(nameof(content));
     _published.Publish(content);
 }