コード例 #1
0
            private void SetupPathParamters()
            {
                var strType              = _type.UriName;
                var strExtendedInfo      = _extendedInfo.ToString();
                var strPage              = _page.ToString();
                var strLimit             = _limit.ToString();
                var strValidRatingFilter = string.Join(",", _validRatingFilter);

                _data.Add(new object[] { _request1.GetUriPathParameters(), new Dictionary <string, object>
                                         {
                                             ["username"] = _username
                                         } });

                _data.Add(new object[] { _request2.GetUriPathParameters(), new Dictionary <string, object>
                                         {
                                             ["username"] = _username,
                                             ["type"]     = strType
                                         } });

                _data.Add(new object[] { _request3.GetUriPathParameters(), new Dictionary <string, object>
                                         {
                                             ["username"] = _username,
                                             ["extended"] = strExtendedInfo
                                         } });

                _data.Add(new object[] { _request4.GetUriPathParameters(), new Dictionary <string, object>
                                         {
                                             ["username"] = _username,
                                             ["page"]     = strPage
                                         } });

                _data.Add(new object[] { _request5.GetUriPathParameters(), new Dictionary <string, object>
                                         {
                                             ["username"] = _username,
                                             ["limit"]    = strLimit
                                         } });

                _data.Add(new object[] { _request6.GetUriPathParameters(), new Dictionary <string, object>
                                         {
                                             ["username"] = _username,
                                             ["page"]     = strPage,
                                             ["limit"]    = strLimit
                                         } });

                _data.Add(new object[] { _request7.GetUriPathParameters(), new Dictionary <string, object>
                                         {
                                             ["username"] = _username
                                         } });

                _data.Add(new object[] { _request8.GetUriPathParameters(), new Dictionary <string, object>
                                         {
                                             ["username"] = _username,
                                             ["type"]     = strType,
                                             ["extended"] = strExtendedInfo
                                         } });

                _data.Add(new object[] { _request9.GetUriPathParameters(), new Dictionary <string, object>
                                         {
                                             ["username"] = _username,
                                             ["type"]     = strType,
                                             ["page"]     = strPage
                                         } });

                _data.Add(new object[] { _request10.GetUriPathParameters(), new Dictionary <string, object>
                                         {
                                             ["username"] = _username,
                                             ["type"]     = strType,
                                             ["limit"]    = strLimit
                                         } });

                _data.Add(new object[] { _request11.GetUriPathParameters(), new Dictionary <string, object>
                                         {
                                             ["username"] = _username,
                                             ["type"]     = strType,
                                             ["page"]     = strPage,
                                             ["limit"]    = strLimit
                                         } });

                _data.Add(new object[] { _request12.GetUriPathParameters(), new Dictionary <string, object>
                                         {
                                             ["username"] = _username,
                                             ["type"]     = strType,
                                             ["rating"]   = strValidRatingFilter
                                         } });

                _data.Add(new object[] { _request13.GetUriPathParameters(), new Dictionary <string, object>
                                         {
                                             ["username"] = _username,
                                             ["type"]     = strType,
                                             ["extended"] = strExtendedInfo,
                                             ["rating"]   = strValidRatingFilter
                                         } });

                _data.Add(new object[] { _request14.GetUriPathParameters(), new Dictionary <string, object>
                                         {
                                             ["username"] = _username,
                                             ["type"]     = strType,
                                             ["page"]     = strPage,
                                             ["rating"]   = strValidRatingFilter
                                         } });

                _data.Add(new object[] { _request15.GetUriPathParameters(), new Dictionary <string, object>
                                         {
                                             ["username"] = _username,
                                             ["type"]     = strType,
                                             ["limit"]    = strLimit,
                                             ["rating"]   = strValidRatingFilter
                                         } });

                _data.Add(new object[] { _request16.GetUriPathParameters(), new Dictionary <string, object>
                                         {
                                             ["username"] = _username,
                                             ["type"]     = strType,
                                             ["page"]     = strPage,
                                             ["limit"]    = strLimit,
                                             ["rating"]   = strValidRatingFilter
                                         } });

                _data.Add(new object[] { _request17.GetUriPathParameters(), new Dictionary <string, object>
                                         {
                                             ["username"] = _username,
                                             ["type"]     = strType
                                         } });

                _data.Add(new object[] { _request18.GetUriPathParameters(), new Dictionary <string, object>
                                         {
                                             ["username"] = _username,
                                             ["type"]     = strType,
                                             ["extended"] = strExtendedInfo
                                         } });

                _data.Add(new object[] { _request19.GetUriPathParameters(), new Dictionary <string, object>
                                         {
                                             ["username"] = _username,
                                             ["type"]     = strType,
                                             ["page"]     = strPage
                                         } });

                _data.Add(new object[] { _request20.GetUriPathParameters(), new Dictionary <string, object>
                                         {
                                             ["username"] = _username,
                                             ["type"]     = strType,
                                             ["limit"]    = strLimit
                                         } });

                _data.Add(new object[] { _request21.GetUriPathParameters(), new Dictionary <string, object>
                                         {
                                             ["username"] = _username,
                                             ["type"]     = strType,
                                             ["page"]     = strPage,
                                             ["limit"]    = strLimit
                                         } });

                _data.Add(new object[] { _request22.GetUriPathParameters(), new Dictionary <string, object>
                                         {
                                             ["username"] = _username,
                                             ["type"]     = strType
                                         } });

                _data.Add(new object[] { _request23.GetUriPathParameters(), new Dictionary <string, object>
                                         {
                                             ["username"] = _username,
                                             ["type"]     = strType,
                                             ["extended"] = strExtendedInfo
                                         } });

                _data.Add(new object[] { _request24.GetUriPathParameters(), new Dictionary <string, object>
                                         {
                                             ["username"] = _username,
                                             ["type"]     = strType,
                                             ["page"]     = strPage
                                         } });

                _data.Add(new object[] { _request25.GetUriPathParameters(), new Dictionary <string, object>
                                         {
                                             ["username"] = _username,
                                             ["type"]     = strType,
                                             ["limit"]    = strLimit
                                         } });

                _data.Add(new object[] { _request26.GetUriPathParameters(), new Dictionary <string, object>
                                         {
                                             ["username"] = _username,
                                             ["type"]     = strType,
                                             ["page"]     = strPage,
                                             ["limit"]    = strLimit
                                         } });

                _data.Add(new object[] { _request27.GetUriPathParameters(), new Dictionary <string, object>
                                         {
                                             ["username"] = _username,
                                             ["type"]     = strType
                                         } });

                _data.Add(new object[] { _request28.GetUriPathParameters(), new Dictionary <string, object>
                                         {
                                             ["username"] = _username,
                                             ["type"]     = strType,
                                             ["extended"] = strExtendedInfo
                                         } });

                _data.Add(new object[] { _request29.GetUriPathParameters(), new Dictionary <string, object>
                                         {
                                             ["username"] = _username,
                                             ["type"]     = strType,
                                             ["page"]     = strPage
                                         } });

                _data.Add(new object[] { _request30.GetUriPathParameters(), new Dictionary <string, object>
                                         {
                                             ["username"] = _username,
                                             ["type"]     = strType,
                                             ["limit"]    = strLimit
                                         } });

                _data.Add(new object[] { _request31.GetUriPathParameters(), new Dictionary <string, object>
                                         {
                                             ["username"] = _username,
                                             ["type"]     = strType,
                                             ["page"]     = strPage,
                                             ["limit"]    = strLimit
                                         } });

                _data.Add(new object[] { _request32.GetUriPathParameters(), new Dictionary <string, object>
                                         {
                                             ["username"] = _username,
                                             ["type"]     = strType
                                         } });

                _data.Add(new object[] { _request33.GetUriPathParameters(), new Dictionary <string, object>
                                         {
                                             ["username"] = _username,
                                             ["type"]     = strType,
                                             ["extended"] = strExtendedInfo
                                         } });

                _data.Add(new object[] { _request34.GetUriPathParameters(), new Dictionary <string, object>
                                         {
                                             ["username"] = _username,
                                             ["type"]     = strType,
                                             ["page"]     = strPage
                                         } });

                _data.Add(new object[] { _request35.GetUriPathParameters(), new Dictionary <string, object>
                                         {
                                             ["username"] = _username,
                                             ["type"]     = strType,
                                             ["limit"]    = strLimit
                                         } });

                _data.Add(new object[] { _request36.GetUriPathParameters(), new Dictionary <string, object>
                                         {
                                             ["username"] = _username,
                                             ["type"]     = strType,
                                             ["page"]     = strPage,
                                             ["limit"]    = strLimit
                                         } });

                _data.Add(new object[] { _request37.GetUriPathParameters(), new Dictionary <string, object>
                                         {
                                             ["username"] = _username,
                                             ["type"]     = strType,
                                         } });

                _data.Add(new object[] { _request38.GetUriPathParameters(), new Dictionary <string, object>
                                         {
                                             ["username"] = _username,
                                             ["type"]     = strType,
                                             ["extended"] = strExtendedInfo
                                         } });

                _data.Add(new object[] { _request39.GetUriPathParameters(), new Dictionary <string, object>
                                         {
                                             ["username"] = _username,
                                             ["type"]     = strType,
                                             ["page"]     = strPage
                                         } });

                _data.Add(new object[] { _request40.GetUriPathParameters(), new Dictionary <string, object>
                                         {
                                             ["username"] = _username,
                                             ["type"]     = strType,
                                             ["limit"]    = strLimit
                                         } });

                _data.Add(new object[] { _request41.GetUriPathParameters(), new Dictionary <string, object>
                                         {
                                             ["username"] = _username,
                                             ["type"]     = strType,
                                             ["page"]     = strPage,
                                             ["limit"]    = strLimit
                                         } });
            }
コード例 #2
0
            private void SetupPathParamters()
            {
                var strType              = _type.UriName;
                var strExtendedInfo      = _extendedInfo.ToString();
                var strValidRatingFilter = string.Join(",", _validRatingFilter);

                _data.Add(new object[] { _request1.GetUriPathParameters(), new Dictionary <string, object>
                                         {
                                             ["username"] = _username
                                         } });

                _data.Add(new object[] { _request2.GetUriPathParameters(), new Dictionary <string, object>
                                         {
                                             ["username"] = _username,
                                             ["type"]     = strType
                                         } });

                _data.Add(new object[] { _request3.GetUriPathParameters(), new Dictionary <string, object>
                                         {
                                             ["username"] = _username,
                                             ["extended"] = strExtendedInfo
                                         } });

                _data.Add(new object[] { _request4.GetUriPathParameters(), new Dictionary <string, object>
                                         {
                                             ["username"] = _username
                                         } });

                _data.Add(new object[] { _request5.GetUriPathParameters(), new Dictionary <string, object>
                                         {
                                             ["username"] = _username,
                                             ["type"]     = strType,
                                             ["extended"] = strExtendedInfo
                                         } });

                _data.Add(new object[] { _request6.GetUriPathParameters(), new Dictionary <string, object>
                                         {
                                             ["username"] = _username,
                                             ["type"]     = strType,
                                             ["rating"]   = strValidRatingFilter
                                         } });

                _data.Add(new object[] { _request7.GetUriPathParameters(), new Dictionary <string, object>
                                         {
                                             ["username"] = _username,
                                             ["type"]     = strType,
                                             ["extended"] = strExtendedInfo,
                                             ["rating"]   = strValidRatingFilter
                                         } });

                _data.Add(new object[] { _request8.GetUriPathParameters(), new Dictionary <string, object>
                                         {
                                             ["username"] = _username,
                                             ["type"]     = strType
                                         } });

                _data.Add(new object[] { _request9.GetUriPathParameters(), new Dictionary <string, object>
                                         {
                                             ["username"] = _username,
                                             ["type"]     = strType,
                                             ["extended"] = strExtendedInfo
                                         } });

                _data.Add(new object[] { _request10.GetUriPathParameters(), new Dictionary <string, object>
                                         {
                                             ["username"] = _username,
                                             ["type"]     = strType
                                         } });

                _data.Add(new object[] { _request11.GetUriPathParameters(), new Dictionary <string, object>
                                         {
                                             ["username"] = _username,
                                             ["type"]     = strType,
                                             ["extended"] = strExtendedInfo
                                         } });

                _data.Add(new object[] { _request12.GetUriPathParameters(), new Dictionary <string, object>
                                         {
                                             ["username"] = _username,
                                             ["type"]     = strType
                                         } });

                _data.Add(new object[] { _request13.GetUriPathParameters(), new Dictionary <string, object>
                                         {
                                             ["username"] = _username,
                                             ["type"]     = strType,
                                             ["extended"] = strExtendedInfo
                                         } });

                _data.Add(new object[] { _request14.GetUriPathParameters(), new Dictionary <string, object>
                                         {
                                             ["username"] = _username,
                                             ["type"]     = strType
                                         } });

                _data.Add(new object[] { _request15.GetUriPathParameters(), new Dictionary <string, object>
                                         {
                                             ["username"] = _username,
                                             ["type"]     = strType,
                                             ["extended"] = strExtendedInfo
                                         } });

                _data.Add(new object[] { _request16.GetUriPathParameters(), new Dictionary <string, object>
                                         {
                                             ["username"] = _username,
                                             ["type"]     = strType
                                         } });

                _data.Add(new object[] { _request17.GetUriPathParameters(), new Dictionary <string, object>
                                         {
                                             ["username"] = _username,
                                             ["type"]     = strType,
                                             ["extended"] = strExtendedInfo
                                         } });
            }