Пример #1
0
 public IglSpecialSerialization(long index,
                                long objectId,
                                IglRegisterType objectType,
                                Dictionary <string, long> data) : base(index)
 {
     ObjectId   = objectId;
     Blob       = data;
     ObjectType = objectType;
 }
Пример #2
0
 /// <summary>
 /// </summary>
 /// <param name="index">Token index within the IGL script</param>
 /// <param name="type">The IGL-TYPE</param>
 /// <param name="arrayDetails">Lengths and ranks</param>
 public IglDeclareObject(long index, IglRegisterType type, params Tuple <int, int>[] arrayDetails) : base(index)
 {
     if (arrayDetails == null || arrayDetails?.Length == 0 ||
         arrayDetails.Length == 1 && arrayDetails[0] == null)
     {
         arrayDetails = new Tuple <int, int> [0];
         ;
     }
     ArrayDetails    = arrayDetails;
     TypeInformation = type;
 }
 public IglDeclareValue(long index, IglRegisterType type, object value) : base(index)
 {
     TypeId = type?.Index;
     Value  = value;
 }