Skip to content

Commit

Permalink
correction des fautes
Browse files Browse the repository at this point in the history
  • Loading branch information
Hangrif committed May 10, 2016
1 parent 93fb42b commit 10f1f68
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions PastebincaAPI/PastebincaAPI/Pastebin.cs
Original file line number Diff line number Diff line change
Expand Up @@ -46,10 +46,10 @@ public Pastebin()
}

/// <summary>
/// Send the Paste with all the data you give it
/// Send the Paste with all the data you gave
/// </summary>
/// <param name="content">The body of your Paste</param>
/// <param name="name">The title of you Paste</param>
/// <param name="name">The title of your Paste</param>
/// <param name="description">The Description of your Paste</param>
/// <returns>The URL to reach your Paste</returns>
public string SendPast(string content, string name, string description, PasteContentType type, Expiration expiration)
Expand Down Expand Up @@ -83,7 +83,7 @@ private string GetApiKey()
}

/// <summary>
/// The the postData ready and encode it to data
/// Set the postData ready and encodes it to data
/// </summary>
/// <param name="content">The content of your Paste</param>
/// <param name="name">The name of your Paste</param>
Expand All @@ -102,7 +102,7 @@ private void SetData(string content, string name, string description, PasteConte
}

/// <summary>
/// Setup the HttWebRequest with the data to be submited
/// Setup the HttWebRequest with the data to be submitted
/// </summary>
private void SetRequest()
{
Expand All @@ -124,7 +124,7 @@ private void SendForm()
}

/// <summary>
/// Get the response after the data was submited
/// Get the response after the data was submitted
/// </summary>
/// <returns>The Raw data (e.g: SUCCESS:1234567)</returns>
private string GetResponse()
Expand Down Expand Up @@ -185,7 +185,7 @@ public enum PasteContentType
}

/// <summary>
/// This is the enum containing all the diferents durations for your Paste
/// This is the enum containing all the differents durations for your Paste
/// </summary>
/// used as follow in the code
/// <code>string expiration = Expiration.Never.ToDescriptionString();</code>
Expand Down

0 comments on commit 10f1f68

Please sign in to comment.