mirror of
https://github.com/zoriya/octokit.net.git
synced 2025-12-06 07:16:09 +00:00
modified XML docs
This commit is contained in:
committed by
aedampir@gmail.com
parent
9464419976
commit
c48e9b0280
@@ -2,6 +2,13 @@ using System;
|
||||
|
||||
namespace Octokit.Reactive
|
||||
{
|
||||
/// <summary>
|
||||
/// A client for GitHub's Repository Deployment Statuses API.
|
||||
/// Gets and creates Deployment Statuses.
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// See the <a href="http://developer.github.com/v3/repos/deployments/">Repository Deployment Statuses API documentation</a> for more information.
|
||||
/// </remarks>
|
||||
public interface IObservableDeploymentStatusClient
|
||||
{
|
||||
/// <summary>
|
||||
@@ -14,7 +21,7 @@ namespace Octokit.Reactive
|
||||
/// <param name="owner">The owner of the repository.</param>
|
||||
/// <param name="name">The name of the repository.</param>
|
||||
/// <param name="deploymentId">The id of the deployment.</param>
|
||||
/// <returns>All deployment statuses for the given deployment.</returns>
|
||||
/// <returns>A <see cref="IObservable{DeploymentStatus}"/> of <see cref="DeploymentStatus"/>es for the given deployment.</returns>
|
||||
IObservable<DeploymentStatus> GetAll(string owner, string name, int deploymentId);
|
||||
|
||||
/// <summary>
|
||||
@@ -28,7 +35,7 @@ namespace Octokit.Reactive
|
||||
/// <param name="name">The name of the repository.</param>
|
||||
/// <param name="deploymentId">The id of the deployment.</param>
|
||||
/// <param name="options">Options for changing the API response</param>
|
||||
/// <returns>All deployment statuses for the given deployment.</returns>
|
||||
/// <returns>A <see cref="IObservable{DeploymentStatus}"/> of <see cref="DeploymentStatus"/>es for the given deployment.</returns>
|
||||
IObservable<DeploymentStatus> GetAll(string owner, string name, int deploymentId, ApiOptions options);
|
||||
|
||||
/// <summary>
|
||||
@@ -42,7 +49,7 @@ namespace Octokit.Reactive
|
||||
/// <param name="name">The name of the repository.</param>
|
||||
/// <param name="deploymentId">The id of the deployment.</param>
|
||||
/// <param name="newDeploymentStatus">The new deployment status to create.</param>
|
||||
/// <returns></returns>
|
||||
/// <returns>A <see cref="DeploymentStatus"/> representing created deployment status.</returns>
|
||||
IObservable<DeploymentStatus> Create(string owner, string name, int deploymentId, NewDeploymentStatus newDeploymentStatus);
|
||||
}
|
||||
}
|
||||
@@ -4,6 +4,13 @@ using Octokit.Reactive.Internal;
|
||||
|
||||
namespace Octokit.Reactive.Clients
|
||||
{
|
||||
/// <summary>
|
||||
/// A client for GitHub's Repository Deployment Statuses API.
|
||||
/// Gets and creates Deployment Statuses.
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// See the <a href="http://developer.github.com/v3/repos/deployments/">Repository Deployment Statuses API documentation</a> for more information.
|
||||
/// </remarks>
|
||||
public class ObservableDeploymentStatusClient : IObservableDeploymentStatusClient
|
||||
{
|
||||
private readonly IDeploymentStatusClient _client;
|
||||
@@ -27,7 +34,7 @@ namespace Octokit.Reactive.Clients
|
||||
/// <param name="owner">The owner of the repository.</param>
|
||||
/// <param name="name">The name of the repository.</param>
|
||||
/// <param name="deploymentId">The id of the deployment.</param>
|
||||
/// <returns>All deployment statuses for the given deployment.</returns>
|
||||
/// <returns>A <see cref="IObservable{DeploymentStatus}"/> of <see cref="DeploymentStatus"/>es for the given deployment.</returns>
|
||||
public IObservable<DeploymentStatus> GetAll(string owner, string name, int deploymentId)
|
||||
{
|
||||
Ensure.ArgumentNotNullOrEmptyString(owner, "owner");
|
||||
@@ -47,7 +54,7 @@ namespace Octokit.Reactive.Clients
|
||||
/// <param name="name">The name of the repository.</param>
|
||||
/// <param name="deploymentId">The id of the deployment.</param>
|
||||
/// <param name="options">Options for changing the API response</param>
|
||||
/// <returns>All deployment statuses for the given deployment.</returns>
|
||||
/// <returns>A <see cref="IObservable{DeploymentStatus}"/> of <see cref="DeploymentStatus"/>es for the given deployment.</returns>
|
||||
public IObservable<DeploymentStatus> GetAll(string owner, string name, int deploymentId, ApiOptions options)
|
||||
{
|
||||
Ensure.ArgumentNotNullOrEmptyString(owner, "owner");
|
||||
@@ -69,7 +76,7 @@ namespace Octokit.Reactive.Clients
|
||||
/// <param name="name">The name of the repository.</param>
|
||||
/// <param name="deploymentId">The id of the deployment.</param>
|
||||
/// <param name="newDeploymentStatus">The new deployment status to create.</param>
|
||||
/// <returns></returns>
|
||||
/// <returns>A <see cref="DeploymentStatus"/> representing created deployment status.</returns>
|
||||
public IObservable<DeploymentStatus> Create(string owner, string name, int deploymentId, NewDeploymentStatus newDeploymentStatus)
|
||||
{
|
||||
return _client.Create(owner, name, deploymentId, newDeploymentStatus).ToObservable();
|
||||
|
||||
@@ -27,7 +27,7 @@ namespace Octokit
|
||||
/// <param name="owner">The owner of the repository.</param>
|
||||
/// <param name="name">The name of the repository.</param>
|
||||
/// <param name="deploymentId">The id of the deployment.</param>
|
||||
/// <returns>All deployment statuses for the given deployment.</returns>
|
||||
/// <returns>A <see cref="IReadOnlyList{DeploymentStatus}"/> of <see cref="DeploymentStatus"/>es for the given deployment.</returns>
|
||||
public Task<IReadOnlyList<DeploymentStatus>> GetAll(string owner, string name, int deploymentId)
|
||||
{
|
||||
Ensure.ArgumentNotNullOrEmptyString(owner, "owner");
|
||||
@@ -47,7 +47,7 @@ namespace Octokit
|
||||
/// <param name="name">The name of the repository.</param>
|
||||
/// <param name="deploymentId">The id of the deployment.</param>
|
||||
/// <param name="options">Options for changing the API response</param>
|
||||
/// <returns>All deployment statuses for the given deployment.</returns>
|
||||
/// <returns>A <see cref="IReadOnlyList{DeploymentStatus}"/> of <see cref="DeploymentStatus"/>es for the given deployment.</returns>
|
||||
public Task<IReadOnlyList<DeploymentStatus>> GetAll(string owner, string name, int deploymentId, ApiOptions options)
|
||||
{
|
||||
Ensure.ArgumentNotNullOrEmptyString(owner, "owner");
|
||||
@@ -71,7 +71,7 @@ namespace Octokit
|
||||
/// <param name="name">The name of the repository.</param>
|
||||
/// <param name="deploymentId">The id of the deployment.</param>
|
||||
/// <param name="newDeploymentStatus"></param>
|
||||
/// <returns></returns>
|
||||
/// <returns>A <see cref="DeploymentStatus"/> representing created deployment status.</returns>
|
||||
public Task<DeploymentStatus> Create(string owner, string name, int deploymentId, NewDeploymentStatus newDeploymentStatus)
|
||||
{
|
||||
Ensure.ArgumentNotNullOrEmptyString(owner, "owner");
|
||||
|
||||
@@ -22,7 +22,7 @@ namespace Octokit
|
||||
/// <param name="owner">The owner of the repository.</param>
|
||||
/// <param name="name">The name of the repository.</param>
|
||||
/// <param name="deploymentId">The id of the deployment.</param>
|
||||
/// <returns>All deployment statuses for the given deployment.</returns>
|
||||
/// <returns>A <see cref="IReadOnlyList{DeploymentStatus}"/> of <see cref="DeploymentStatus"/>es for the given deployment.</returns>
|
||||
Task<IReadOnlyList<DeploymentStatus>> GetAll(string owner, string name, int deploymentId);
|
||||
|
||||
/// <summary>
|
||||
@@ -36,7 +36,7 @@ namespace Octokit
|
||||
/// <param name="name">The name of the repository.</param>
|
||||
/// <param name="deploymentId">The id of the deployment.</param>
|
||||
/// <param name="options">Options for changing the API response</param>
|
||||
/// <returns>All deployment statuses for the given deployment.</returns>
|
||||
/// <returns>A <see cref="IReadOnlyList{DeploymentStatus}"/> of <see cref="DeploymentStatus"/>es for the given deployment.</returns>
|
||||
Task<IReadOnlyList<DeploymentStatus>> GetAll(string owner, string name, int deploymentId, ApiOptions options);
|
||||
|
||||
/// <summary>
|
||||
@@ -50,7 +50,7 @@ namespace Octokit
|
||||
/// <param name="name">The name of the repository.</param>
|
||||
/// <param name="deploymentId">The id of the deployment.</param>
|
||||
/// <param name="newDeploymentStatus"></param>
|
||||
/// <returns></returns>
|
||||
/// <returns>A <see cref="DeploymentStatus"/> representing created deployment status.</returns>
|
||||
Task<DeploymentStatus> Create(string owner, string name, int deploymentId, NewDeploymentStatus newDeploymentStatus);
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user