コード例 #1
0
        IJSonMutableObject IJSonMutableObject.SetDictionary(string name)
        {
            IJSonMutableObject dict = JSonMutableObject.CreateDictionary();

            SetValue(name, dict);
            return(dict);
        }
コード例 #2
0
        IJSonMutableObject IJSonMutableObject.SetArray(string name)
        {
            IJSonMutableObject array = JSonMutableObject.CreateArray();

            SetValue(name, array);
            return(array);
        }
コード例 #3
0
        IJSonMutableObject IJSonMutableObject.InsertDictionaryAt(int index)
        {
            IJSonMutableObject dict = JSonMutableObject.CreateDictionary();

            InsertValue(index, dict);
            return(dict);
        }
コード例 #4
0
        IJSonMutableObject IJSonMutableObject.InsertArrayAt(int index)
        {
            IJSonMutableObject array = JSonMutableObject.CreateArray();

            InsertValue(index, array);
            return(array);
        }
        internal RecordedBayeuxDataSourceUpdateEventArgs(RecordedBayeuxDataSource dataSource, IJSonObject request, IJSonMutableObject response)
        {
            if (dataSource == null)
                throw new ArgumentNullException("dataSource");

            DataSource = dataSource;
            Request = request;
            Response = response;
        }
コード例 #6
0
        internal RecordedBayeuxDataSourceUpdateEventArgs(RecordedBayeuxDataSource dataSource, IJSonObject request, IJSonMutableObject response)
        {
            if (dataSource == null)
            {
                throw new ArgumentNullException("dataSource");
            }

            DataSource = dataSource;
            Request    = request;
            Response   = response;
        }