示例#1
0
        public static Uri GetContainerAndSubFeedPath(CloudStorageAccount azureAccount, string container, string feedSubPath)
        {
            var uri = GetContainerPath(azureAccount, container);

            if (!string.IsNullOrEmpty(feedSubPath))
            {
                // Remove any slashes around the feed sub path and append it.
                uri = UriUtility.EnsureTrailingSlash(UriUtility.GetPath(uri, feedSubPath.Trim('/')));
            }

            return(uri);
        }