public Activity(JObject jobj) { if (jobj["id"] != null) { id = new Uri(jobj.Value <String>("id")); } if (jobj["definition"] != null) { definition = (ActivityDefinition)jobj.Value <JObject>("definition"); } }
public Activity(JObject jobj) { if (jobj["id"] != null) { id = new Uri(jobj.Value<String>("id")); } if (jobj["definition"] != null) { definition = (ActivityDefinition)jobj.Value<JObject>("definition"); } }
public Activity(JObject jobj) { if (jobj["id"] != null) { string idFromJSON = jobj.Value<String>("id"); Uri uri = new Uri(idFromJSON); id = idFromJSON; } if (jobj["definition"] != null) { definition = (ActivityDefinition)jobj.Value<JObject>("definition"); } }
public Activity(JObject jobj) { if (jobj["id"] != null) { string idFromJSON = jobj.Value <String>("id"); Uri uri = new Uri(idFromJSON); id = idFromJSON; } if (jobj["definition"] != null) { definition = (ActivityDefinition)jobj.Value <JObject>("definition"); } }