copy comments from base

This commit is contained in:
=
2013-11-08 13:26:43 +00:00
parent bf466b6600
commit feeefd8ba7
+20
View File
@@ -9,6 +9,16 @@ namespace Octokit
{
}
/// <summary>
/// Gets a tag for a given repository by sha reference
/// </summary>
/// <remarks>
/// http://developer.github.com/v3/git/tags/#get-a-tag
/// </remarks>
/// <param name="owner">The owner of the repository</param>
/// <param name="name">The name of the repository</param>
/// <param name="reference">Tha sha reference of the tag</param>
/// <returns></returns>
public Task<GitTag> Get(string owner, string name, string reference)
{
Ensure.ArgumentNotNullOrEmptyString(owner, "owner");
@@ -18,6 +28,16 @@ namespace Octokit
return ApiConnection.Get<GitTag>(ApiUrls.Tag(owner, name, reference));
}
/// <summary>
/// Create a tag for a given repository
/// </summary>
/// <remarks>
/// http://developer.github.com/v3/git/tags/#create-a-tag-object
/// </remarks>
/// <param name="owner">The owner of the repository</param>
/// <param name="name">The name of the repository</param>
/// <param name="tag">The tag to create</param>
/// <returns></returns>
public Task<GitTag> Create(string owner, string name, NewTag tag)
{
Ensure.ArgumentNotNullOrEmptyString(owner, "owner");