예제 #1
0
파일: Endpoint.cs 프로젝트: nail-lian/ice
    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);
    }
예제 #2
0
파일: WSEndpoint.cs 프로젝트: nail-lian/ice
        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);
        }