Exemplo n.º 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;
            }
        }
Exemplo n.º 2
0
 public ObjectReference(ArkName objectString)
 {
     ObjectString = objectString;
     ObjectType   = TypePath;
 }
Exemplo n.º 3
0
 public ArkByteValue(ArkName nameValue)
 {
     NameValue = nameValue;
 }