Esempio n. 1
0
    public override IEnumerable <ZeroC.Ice.Endpoint> ExpandHost(out ZeroC.Ice.Endpoint?publish)
    {
        var endpoints = _endpoint.ExpandHost(out publish).Select(endpoint => GetEndpoint(endpoint));

        if (publish != null)
        {
            publish = GetEndpoint(publish);
        }
        return(endpoints);
    }
Esempio n. 2
0
        public override IEnumerable <Endpoint> ExpandHost(out Endpoint?publish)
        {
            IEnumerable <Endpoint> endpoints =
                _delegate.ExpandHost(out publish).Select(endpoint => GetEndpoint(endpoint));

            if (publish != null)
            {
                publish = GetEndpoint(publish);
            }
            return(endpoints);
        }