Exemple #1
0
 public IEnumerable <InSysBlob> ListBlob(InSysDirectory Dr)
 {
     if (IsCloud)
     {
         return(AzureStorage.ListBlob(Dr.Directory).Select(x => new InSysBlob(x as CloudBlockBlob)));
     }
     else
     {
         return(InSysStorage.ListBlob(Dr));
     }
 }
Exemple #2
0
        public IEnumerable <InSysBlob> ListBlob(InSysDirectory Dr)
        {
            var gh = Path.Combine(RootPath, Dr.inSysContainer.Name, Dr.Name);

            return(Directory.GetFiles(gh).Select(x => new InSysBlob(Dr, Path.GetFileName(x))));
        }
Exemple #3
0
 public InSysBlob(InSysDirectory dr, string v)
 {
     //this.dr = dr;
     this.Cntr = dr.inSysContainer;
     this.Name = Path.Combine(dr.Name, v);
 }