public Verb(JObject jobj) { if (jobj["id"] != null) { Id = new Uri(jobj.Value <string>("id")); } if (jobj["display"] != null) { Display = (LanguageMap)jobj.Value <JObject>("display"); } }
public InteractionComponent(JObject jobj) { if (jobj["id"] != null) { id = jobj.Value <String>("id"); } if (jobj["description"] != null) { description = (LanguageMap)jobj.Value <JObject>("description"); } }
public Verb(JObject jobj) { if (jobj["id"] != null) { id = new Uri(jobj.Value<String>("id")); } if (jobj["display"] != null) { display = (LanguageMap)jobj.Value<JObject>("display"); } }
public InteractionComponent(JObject jobj) { if (jobj["id"] != null) { id = jobj.Value<String>("id"); } if (jobj["description"] != null) { description = (LanguageMap)jobj.Value<JObject>("description"); } }
public void TestEmptyCtr() { LanguageMap obj = new LanguageMap(); Assert.IsInstanceOf<LanguageMap>(obj); }
public Verb(Uri uri, string defaultLanguage, string defaultTerm) { id = uri; display = new LanguageMap(); display.Add(defaultLanguage, defaultTerm); }