예제 #1
0
파일: Likert.cs 프로젝트: eMelgooG/LRS-xApi
 public Likert(JObject jobj, ApiVersion version) : base(jobj, version)
 {
     if (jobj["scale"] != null)
     {
         Scale = new InteractionComponentCollection(jobj.Value <JArray>("scale"), version);
     }
 }
예제 #2
0
 public Performance(JToken jobj, ApiVersion version) : base(jobj, version)
 {
     if (jobj["steps"] != null)
     {
         Steps = new InteractionComponentCollection(jobj.Value <JArray>("steps"), version);
     }
 }
예제 #3
0
파일: Choice.cs 프로젝트: eMelgooG/LRS-xApi
 public Choice(JToken jobj, ApiVersion version) : base(jobj, version)
 {
     if (jobj["choices"] != null)
     {
         Choices = new InteractionComponentCollection(jobj["choices"], version);
     }
 }
예제 #4
0
        public Matching(JToken jobj, ApiVersion version) : base(jobj, version)
        {
            if (jobj["source"] != null)
            {
                Source = new InteractionComponentCollection(jobj.Value <JArray>("source"), version);
            }

            if (jobj["target"] != null)
            {
                Target = new InteractionComponentCollection(jobj.Value <JArray>("target"), version);
            }
        }