Параметры метода board.getTopics
示例#1
0
        /// <summary>
        /// Привести к типу VkParameters.
        /// </summary>
        /// <param name="p"> Параметры. </param>
        /// <returns> </returns>
        public static VkParameters ToVkParameters(BoardGetTopicsParams p)
        {
            var parameters = new VkParameters
            {
                { "group_id", p.GroupId }
                , { "topic_ids", p.TopicIds }
                , { "order", p.Order }
                , { "offset", p.Offset }
                , { "count", p.Count }
                , { "extended", p.Extended }
                , { "preview", p.Preview }
                , { "preview_length", p.PreviewLength }
            };

            return(parameters);
        }
示例#2
0
        /// <summary>
        /// Привести к типу VkParameters.
        /// </summary>
        /// <param name="p">Параметры.</param>
        /// <returns></returns>
        internal static VkParameters ToVkParameters(BoardGetTopicsParams p)
		{
			var parameters = new VkParameters
			{
				{ "group_id", p.GroupId },
				{ "topic_ids", p.TopicIds },
				{ "order", p.Order },
				{ "offset", p.Offset },
				{ "count", p.Count },
				{ "extended", p.Extended },
                { "preview", p.Preview },
                { "preview_length", p.PreviewLength }
            };

			return parameters;
		}