Exemplo n.º 1
0
        public static string ConvertToString(ListBlobsInclude include)
        {
            var options = new List <string>();

            if (include.HasFlag(ListBlobsInclude.Snapshots))
            {
                options.Add("snapshots");
            }

            if (include.HasFlag(ListBlobsInclude.Metadata))
            {
                options.Add("metadata");
            }

            if (include.HasFlag(ListBlobsInclude.UncomittedBlobs))
            {
                options.Add("uncommittedblobs");
            }

            if (include.HasFlag(ListBlobsInclude.Copy))
            {
                options.Add("copy");
            }

            return(String.Join(",", options));
        }
        public static string ConvertToString(ListBlobsInclude include)
        {
            var options = new List<string>();

            if (include.HasFlag(ListBlobsInclude.Snapshots))
                options.Add("snapshots");

            if (include.HasFlag(ListBlobsInclude.Metadata))
                options.Add("metadata");

            if (include.HasFlag(ListBlobsInclude.UncomittedBlobs))
                options.Add("uncommittedblobs");

            if (include.HasFlag(ListBlobsInclude.Copy))
                options.Add("copy");

            return String.Join(",", options);
        }