Ejemplo n.º 1
0
 // Token: 0x0600151B RID: 5403 RVA: 0x000159C6 File Offset: 0x00013BC6
 public bool Equals([Nullable(new byte[]
 {
     0,
     1
 })] JEnumerable <T> other)
 {
     return(object.Equals(this._enumerable, other._enumerable));
 }
Ejemplo n.º 2
0
 // Token: 0x0600151C RID: 5404 RVA: 0x0006B9F0 File Offset: 0x00069BF0
 public override bool Equals(object obj)
 {
     if (obj is JEnumerable <T> )
     {
         JEnumerable <T> other = (JEnumerable <T>)obj;
         return(this.Equals(other));
     }
     return(false);
 }
Ejemplo n.º 3
0
 public override bool Equals(object obj)
 {
     if (obj is JEnumerable <T> )
     {
         IEnumerable <T> enumerable  = _enumerable;
         JEnumerable <T> jEnumerable = (JEnumerable <T>)obj;
         return(enumerable.Equals(jEnumerable._enumerable));
     }
     return(false);
 }
 static int Children(IntPtr L)
 {
     try
     {
         ToLua.CheckArgsCount(L, 1);
         Newtonsoft.Json.Linq.JContainer obj = (Newtonsoft.Json.Linq.JContainer)ToLua.CheckObject <Newtonsoft.Json.Linq.JContainer>(L, 1);
         Newtonsoft.Json.Linq.JEnumerable <Newtonsoft.Json.Linq.JToken> o = obj.Children();
         ToLua.PushValue(L, o);
         return(1);
     }
     catch (Exception e)
     {
         return(LuaDLL.toluaL_exception(L, e));
     }
 }
Ejemplo n.º 5
0
 static int PropertyValues(IntPtr L)
 {
     try
     {
         ToLua.CheckArgsCount(L, 1);
         Newtonsoft.Json.Linq.JObject obj = (Newtonsoft.Json.Linq.JObject)ToLua.CheckObject <Newtonsoft.Json.Linq.JObject>(L, 1);
         Newtonsoft.Json.Linq.JEnumerable <Newtonsoft.Json.Linq.JToken> o = obj.PropertyValues();
         ToLua.PushValue(L, o);
         return(1);
     }
     catch (Exception e)
     {
         return(LuaDLL.toluaL_exception(L, e));
     }
 }
Ejemplo n.º 6
0
 /// <summary>
 /// Determines whether the specified <see cref="JEnumerable{T}"/> is equal to this instance.
 /// </summary>
 /// <param name="other">The <see cref="JEnumerable{T}"/> to compare with this instance.</param>
 /// <returns>
 ///     <c>true</c> if the specified <see cref="JEnumerable{T}"/> is equal to this instance; otherwise, <c>false</c>.
 /// </returns>
 public bool Equals(JEnumerable <T> other)
 {
     return(Equals(_enumerable, other._enumerable));
 }
Ejemplo n.º 7
0
 public bool Equals(JEnumerable <T> other) =>
 object.Equals(this._enumerable, other._enumerable);
Ejemplo n.º 8
0
 public bool Equals(JEnumerable <T> other)
 {
     return(object.Equals(this._enumerable, other._enumerable));
 }