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)); } }
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)))); }
public InSysBlob(InSysDirectory dr, string v) { //this.dr = dr; this.Cntr = dr.inSysContainer; this.Name = Path.Combine(dr.Name, v); }