// Profile public string GetUpdateProfileParametersQuery(IAccountUpdateProfileParameters parameters) { var query = new StringBuilder(Resources.Account_UpdateProfile); query.AddParameterToQuery("name", parameters.Name); query.AddParameterToQuery("url", parameters.Url); query.AddParameterToQuery("location", parameters.Location); query.AddParameterToQuery("description", parameters.Description); query.AddParameterToQuery("profile_link_color", parameters.ProfileLinkColor); query.AddParameterToQuery("include_entities", parameters.IncludeEntities); query.AddParameterToQuery("skip_status", parameters.SkipStatus); query.AddFormattedParameterToQuery(parameters.FormattedCustomQueryParameters); return(query.ToString()); }
// Profile /// <summary> /// Update the information of the authenticated user profile. /// </summary> public static IAuthenticatedUser UpdateAccountProfile(IAccountUpdateProfileParameters parameters) { return AccountController.UpdateAccountProfile(parameters); }
// Profile public IAuthenticatedUser UpdateAccountProfile(IAccountUpdateProfileParameters parameters) { var userDTO = _accountQueryExecutor.UpdateProfileParameters(parameters); return _userFactory.GenerateAuthenticatedUserFromDTO(userDTO); }
public IUserDTO UpdateProfileParameters(IAccountUpdateProfileParameters parameters) { var query = _accountQueryGenerator.GetUpdateProfileParametersQuery(parameters); return(_twitterAccessor.ExecutePOSTQuery <IUserDTO>(query)); }
// Profile /// <summary> /// Update the information of the authenticated user profile. /// </summary> public static IAuthenticatedUser UpdateAccountProfile(IAccountUpdateProfileParameters parameters) { return(AccountController.UpdateAccountProfile(parameters)); }
// Profile public IAuthenticatedUser UpdateAccountProfile(IAccountUpdateProfileParameters parameters) { var userDTO = _accountQueryExecutor.UpdateProfileParameters(parameters); return(_userFactory.GenerateAuthenticatedUserFromDTO(userDTO)); }
public IUserDTO UpdateProfileParameters(IAccountUpdateProfileParameters parameters) { var query = _accountQueryGenerator.GetUpdateProfileParametersQuery(parameters); return _twitterAccessor.ExecutePOSTQuery<IUserDTO>(query); }
// Profile public string GetUpdateProfileParametersQuery(IAccountUpdateProfileParameters parameters) { var query = new StringBuilder(Resources.Account_UpdateProfile); query.AddParameterToQuery("name", parameters.Name); query.AddParameterToQuery("url", parameters.Url); query.AddParameterToQuery("location", parameters.Location); query.AddParameterToQuery("description", parameters.Description); query.AddParameterToQuery("profile_link_color", parameters.ProfileLinkColor); query.AddParameterToQuery("include_entities", parameters.IncludeEntities); query.AddParameterToQuery("skip_status", parameters.SkipStatus); query.AddFormattedParameterToQuery(parameters.FormattedCustomQueryParameters); return query.ToString(); }