public static List<ContainerHelper> GetAll(string account, string key) { List<ContainerHelper> list = new List<ContainerHelper>(); foreach (CloudBlobContainer cont in Container.GetAll(account,key)) { ContainerHelper ch = new ContainerHelper() { Name = cont.Name }; list.Add(ch); } return list; }
public static List <ContainerHelper> GetAll(string account, string key) { List <ContainerHelper> list = new List <ContainerHelper>(); foreach (CloudBlobContainer cont in Container.GetAll(account, key)) { ContainerHelper ch = new ContainerHelper() { Name = cont.Name }; list.Add(ch); } return(list); }