BaconographyPortable.Model.Reddit.RedditService.EditComment C# (CSharp) Method

EditComment() public method

public EditComment ( string thingId, string text ) : System.Threading.Tasks.Task
thingId string
text string
return System.Threading.Tasks.Task
        public virtual async Task EditComment(string thingId, string text)
        {
            var modhash = await GetCurrentModhash();

            var arguments = new Dictionary<string, string>
            {
                {"thing_id", thingId},
                {"text", text.Replace("\r\n", "\n").Replace("+", "%2B")},
                {"uh", modhash}
            };

            ProcessJsonErrors(await this.SendPost(await GetCurrentLoginCookie(), arguments, "http://www.reddit.com/api/editusertext"));
        }