コード例 #1
0
 protected internal override Value AssertCorrectType(Value value)
 {
     if (!Values.isNumberValue(value))
     {
         throw new System.ArgumentException("Key layout does only support numbers, tried to create key from " + value);
     }
     return(value);
 }
コード例 #2
0
 private static bool IsNumberGeometryOrArray(Value value)
 {
     return(Values.isNumberValue(value) || Values.isGeometryValue(value) || Values.isArrayValue(value));
 }