mirror of
https://github.com/zoriya/octokit.net.git
synced 2026-06-04 11:24:44 +00:00
🎨 Make fields readonly
This commit is contained in:
@@ -6,8 +6,8 @@ namespace Octokit.Reactive.Clients
|
||||
{
|
||||
public class ObservableDeploymentStatusClient : IObservableDeploymentStatusClient
|
||||
{
|
||||
private IDeploymentStatusClient _client;
|
||||
private IConnection _connection;
|
||||
private readonly IDeploymentStatusClient _client;
|
||||
private readonly IConnection _connection;
|
||||
|
||||
public ObservableDeploymentStatusClient(IGitHubClient client)
|
||||
{
|
||||
|
||||
@@ -6,8 +6,8 @@ namespace Octokit.Reactive
|
||||
{
|
||||
public class ObservableStarredClient : IObservableStarredClient
|
||||
{
|
||||
private IStarredClient _client;
|
||||
private IConnection _connection;
|
||||
private readonly IStarredClient _client;
|
||||
private readonly IConnection _connection;
|
||||
|
||||
public ObservableStarredClient(IGitHubClient client)
|
||||
{
|
||||
|
||||
@@ -6,8 +6,8 @@ namespace Octokit.Reactive
|
||||
{
|
||||
public class ObservableWatchedClient : IObservableWatchedClient
|
||||
{
|
||||
private IWatchedClient _client;
|
||||
private IConnection _connection;
|
||||
private readonly IWatchedClient _client;
|
||||
private readonly IConnection _connection;
|
||||
|
||||
public ObservableWatchedClient(IGitHubClient client)
|
||||
{
|
||||
|
||||
@@ -184,7 +184,7 @@ namespace Octokit
|
||||
[DebuggerDisplay("{DebuggerDisplay,nq}")]
|
||||
public class Range
|
||||
{
|
||||
private string query = string.Empty;
|
||||
private readonly string query = string.Empty;
|
||||
|
||||
/// <summary>
|
||||
/// Matches repositories that are <param name="size">size</param> MB exactly
|
||||
|
||||
Reference in New Issue
Block a user