Пример #1
0
 // Token: 0x0600008C RID: 140 RVA: 0x00005B04 File Offset: 0x00003D04
 public List <XEPathInfo> children(bool refresh)
 {
     if (this.IsDirectory || refresh)
     {
         this._children = new List <XEPathInfo>();
         string[] contents = this.Device.GetContents(this._fullPath, this.Service, true);
         string[] array    = contents;
         for (int i = 0; i < array.Length; i++)
         {
             string text = array[i];
             if (text != "." && text != "..")
             {
                 XEPathInfo item = new XEPathInfo(this.Device, XEPathInfo.UnixPathCombine(this._fullPath, text), this.Service, false);
                 this._children.Add(item);
             }
         }
     }
     return(this._children);
 }