예제 #1
0
 public void SetObj(ObjId val)
 {
     Trace.Assert(_type == VarType.Obj, "");
     if (!val.Equals(_val.Obj()))
     {
         _val.SetObj(val);
     }
 }
예제 #2
0
 public static bool CheckInequals(this ObjId obj, ObjId obj2)
 {
     if (obj.Equals(obj2))
     {
         return(false);
     }
     return(true);
 }
예제 #3
0
 public static bool CheckValid(this ObjId obj)
 {
     if (obj.Equals(ObjId.Empty))
     {
         //string s = string.Format("OBJ id:\"{0}\" EMPTY\r\n{1}\r\n{2}", obj, new StackTrace(1, true).ToText(4), StrHelper.Splitter);
         //Csl.Wl(ConsoleColor.Red, s);
         //Log.Error(s);
         return(false);
     }
     return(true);
 }