コード例 #1
0
     public JSONStructIterator(JSONEntry oEntry)
     {
 	    m_object = oEntry.getObject();
         m_enumStruct = m_object.GetEnumerator();
         if (m_enumStruct.MoveNext())
             m_strCurKey = m_enumStruct.Current.Key;
     }
コード例 #2
0
     public JSONStructIterator(JSONEntry oEntry, String strName)
     {
 	    m_object = (Dictionary<string, object>)oEntry.getObject(strName);
         m_enumStruct = m_object.GetEnumerator();
         if (m_enumStruct.MoveNext())
             m_strCurKey = m_enumStruct.Current.Key;
     }
コード例 #3
0
 public JSONStructIterator(JSONEntry oEntry)
 {
     m_object     = oEntry.getObject();
     m_enumStruct = m_object.GetEnumerator();
     if (m_enumStruct.MoveNext())
     {
         m_strCurKey = m_enumStruct.Current.Key;
     }
 }
コード例 #4
0
 public JSONStructIterator(JSONEntry oEntry, String strName)
 {
     m_object     = (Dictionary <string, object>)oEntry.getObject(strName);
     m_enumStruct = m_object.GetEnumerator();
     if (m_enumStruct.MoveNext())
     {
         m_strCurKey = m_enumStruct.Current.Key;
     }
 }
コード例 #5
0
ファイル: JSONArrayIterator.cs プロジェクト: ycaihua/rhodes
 public JSONArrayIterator(JSONEntry oEntry, String strName)
 {
     m_array    = (List <Object>)oEntry.getObject(strName);
     m_nCurItem = 0;
 }
コード例 #6
0
ファイル: JSONArrayIterator.cs プロジェクト: rrmartins/rhodes
	    public JSONArrayIterator(JSONEntry oEntry, String strName)
	    {
	        m_array = (List<Object>)oEntry.getObject(strName);
	        m_nCurItem = 0;
	    }