Пример #1
0
        public IEnumerable <object> Enumerate(IEnumerationContext context, IncomingMessage incomingMessage, OutgoingMessage outgoingMessage)
        {
            var name = context.Selectors.ExtractObjectName();

            if (_server.IsRegistered(name))
            {
                yield return(ObjectNameSelector.CreateEndpointAddress(name));
            }
        }