mirror of
https://github.com/zoriya/octokit.net.git
synced 2026-06-04 03:16:11 +00:00
observale deployments for all
This commit is contained in:
@@ -28,5 +28,10 @@ namespace Octokit.Reactive
|
||||
/// <param name="newDeployment">A <see cref="NewDeployment"/> instance describing the new deployment to create</param>
|
||||
/// <returns>The created <see cref="Deployment"></returns>
|
||||
IObservable<Deployment> Create(string owner, string name, NewDeployment newDeployment);
|
||||
|
||||
/// <summary>
|
||||
///
|
||||
/// </summary>
|
||||
IObservableDeploymentStatusClient Status { get; }
|
||||
}
|
||||
}
|
||||
@@ -15,6 +15,8 @@ namespace Octokit.Reactive.Clients
|
||||
|
||||
_client = client.Repository.Deployment;
|
||||
_connection = client.Connection;
|
||||
|
||||
Status = new ObservableDeploymentStatusClient(client);
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
@@ -51,5 +53,10 @@ namespace Octokit.Reactive.Clients
|
||||
{
|
||||
return _client.Create(owner, name, newDeployment).ToObservable();
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
///
|
||||
/// </summary>
|
||||
public IObservableDeploymentStatusClient Status { get; private set; }
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user