JSONTools.JSONObject.GetPreviousObject C# (CSharp) Метод

GetPreviousObject() публичный Метод

public GetPreviousObject ( ) : JSONObject
Результат JSONObject
        public JSONObject GetPreviousObject()
        {
            if (this.Index == -1) { return this; }
            else if (this.Index == 0) { return this.Parent; }
            else { return GetLastObject(this.Parent.ChildJSONObjects[this.Index - 1]); }
        }