Exemple #1
0
        private void readJson(JToken node)
        {
            switch (node.Type)
            {
            case JTokenType.Integer:
                ObjectId   = node.Value <int>();
                ObjectType = TypeId;
                break;

            case JTokenType.String:
                ObjectString = ArkName.From(node.Value <string>());
                ObjectType   = TypePath;
                break;

            default:
                ObjectString = ArkName.From(node.Value <string>("value"));
                ObjectType   = node.Value <bool>("short") ? TypePathNoType : TypePath;
                break;
            }
        }
Exemple #2
0
 public ObjectReference(ArkName objectString)
 {
     ObjectString = objectString;
     ObjectType   = TypePath;
 }
Exemple #3
0
 public ArkByteValue(ArkName nameValue)
 {
     NameValue = nameValue;
 }