コード例 #1
0
        /// <summary>
        /// Sets one or more hex values that control the color scheme of the authenticating user's profile page on twitter.com
        /// </summary>
        /// <param name="tokens">The tokens.</param>
        /// <param name="options">The options.</param>
        /// <returns>
        /// The user, with updated data, as a <see cref="TwitterUser"/>
        /// </returns>
        public static TwitterResponse <TwitterUser> UpdateProfileColors(OAuthTokens tokens, UpdateProfileColorsOptions options)
        {
            Commands.UpdateProfileColorsCommand command = new Twitterizer.Commands.UpdateProfileColorsCommand(tokens, options);

            return(CommandPerformer.PerformAction(command));
        }
コード例 #2
0
 /// <summary>
 /// Sets one or more hex values that control the color scheme of the authenticating user's profile page on twitter.com
 /// </summary>
 /// <param name="tokens">The tokens.</param>
 /// <param name="options">The options.</param>
 /// <returns>
 /// The user, with updated data, as a <see cref="User"/>
 /// </returns>
 public static async Task <TwitterResponse <User> > UpdateProfileColorsAsync(OAuthTokens tokens, UpdateProfileColorsOptions options)
 {
     return(await Core.CommandPerformer.PerformAction(new Twitterizer.Commands.UpdateProfileColorsCommand(tokens, options)));
 }
コード例 #3
0
        /// <summary>
        /// Sets one or more hex values that control the color scheme of the authenticating user's profile page on twitter.com
        /// </summary>
        /// <param name="tokens">The tokens.</param>
        /// <param name="options">The options.</param>
        /// <returns>
        /// The user, with updated data, as a <see cref="TwitterUser"/>
        /// </returns>
        public static TwitterResponse<TwitterUser> UpdateProfileColors(OAuthTokens tokens, UpdateProfileColorsOptions options)
        {
            Commands.UpdateProfileColorsCommand command = new Twitterizer.Commands.UpdateProfileColorsCommand(tokens, options);

            return CommandPerformer.PerformAction(command);
        }
コード例 #4
0
ファイル: Account.cs プロジェクト: DigitallyBorn/Twitterizer3
 /// <summary>
 /// Sets one or more hex values that control the color scheme of the authenticating user's profile page on twitter.com
 /// </summary>
 /// <param name="tokens">The tokens.</param>
 /// <param name="options">The options.</param>
 /// <returns>
 /// The user, with updated data, as a <see cref="TwitterUser"/>
 /// </returns>
 public static async Task<TwitterResponse<TwitterUser>> UpdateProfileColorsAsync(OAuthTokens tokens, UpdateProfileColorsOptions options)
 {
     return await Core.CommandPerformer.PerformAction(new Twitterizer.Commands.UpdateProfileColorsCommand(tokens, options));
 }