GetHostnames() public method

public GetHostnames ( string applicationSlug ) : IEnumerable
applicationSlug string
return IEnumerable
Example #1
0
        public IEnumerable <Hostname> GetHostnames(string applicationId)
        {
            var hostnames = _api.GetHostnames(applicationId);

            if (hostnames == null)
            {
                throw new ApiException();
            }

            return(hostnames);
        }