Пример #1
0
        // Token: 0x0600008B RID: 139 RVA: 0x00005ABC File Offset: 0x00003CBC
        public static string UnixIncrementPathString(string originalPath, int incrementNumber)
        {
            string text;
            string text2;
            string text3;

            XEPathInfo.UnixSplitFileNameAndExtension(originalPath, out text, out text2, out text3);
            return(string.Format("{0}/{1} ({2}){3}", new object[]
            {
                text,
                text2,
                incrementNumber,
                text3
            }));
        }
Пример #2
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);
 }
Пример #3
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;
		}
Пример #4
0
 // Token: 0x0600008F RID: 143 RVA: 0x00005C20 File Offset: 0x00003E20
 public bool Equals(XEPathInfo otherInfo)
 {
     return(this.Device == otherInfo.Device && !(this.Service != otherInfo.Service) && !(this._fullPath != otherInfo._fullPath) && !(this.DateModified != otherInfo.DateModified));
 }
Пример #5
0
		// Token: 0x0600008F RID: 143 RVA: 0x00005C20 File Offset: 0x00003E20
		public bool Equals(XEPathInfo otherInfo)
		{
			return this.Device == otherInfo.Device && !(this.Service != otherInfo.Service) && !(this._fullPath != otherInfo._fullPath) && !(this.DateModified != otherInfo.DateModified);
		}