ConvertComponentStateSynonymsToJsonArray() 공개 메소드

public ConvertComponentStateSynonymsToJsonArray ( Dictionary synonyms ) : Newtonsoft.Json.Linq.JArray
synonyms Dictionary
리턴 Newtonsoft.Json.Linq.JArray
예제 #1
0
        public override void HandleApiRequest(IApiContext apiContext)
        {
            apiContext.Response.SetNamedObject("AreaSynonyms", _storage.ConvertAreaSynonymsToJsonObject(_areaSynonyms));

            apiContext.Response.SetNamedObject("ComponentSynonyms",
                                               _storage.ConvertComponentSynonymsToJsonObject(_componentSynonyms));

            apiContext.Response.SetNamedArray("ComponentStateSynonyms",
                                              _storage.ConvertComponentStateSynonymsToJsonArray(_componentStateSynonyms));
        }