Esempio n. 1
0
 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");
     }
 }
Esempio n. 3
0
 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");
            }
 
        }
Esempio n. 5
0
 public void TestEmptyCtr()
 {
     LanguageMap obj = new LanguageMap();
     Assert.IsInstanceOf<LanguageMap>(obj);
 }
Esempio n. 6
0
 public Verb(Uri uri, string defaultLanguage, string defaultTerm)
 {
     id      = uri;
     display = new LanguageMap();
     display.Add(defaultLanguage, defaultTerm);
 }