mirror of
https://github.com/zoriya/octokit.net.git
synced 2026-05-30 01:38:52 +00:00
Fixed HasGetterOnlyProperties test
This commit is contained in:
@@ -10,44 +10,41 @@ namespace Octokit
|
||||
/// <summary>
|
||||
/// file name
|
||||
/// </summary>
|
||||
public string Name { get; set; }
|
||||
public string Name { get; protected set; }
|
||||
|
||||
/// <summary>
|
||||
/// path to file
|
||||
/// </summary>
|
||||
public string Path { get; set; }
|
||||
public string Path { get; protected set; }
|
||||
|
||||
/// <summary>
|
||||
/// Sha for file
|
||||
/// </summary>
|
||||
public string Sha { get; set; }
|
||||
public string Sha { get; protected set; }
|
||||
|
||||
/// <summary>
|
||||
/// api-url to file
|
||||
/// </summary>
|
||||
public Uri Url { get; set; }
|
||||
public Uri Url { get; protected set; }
|
||||
|
||||
/// <summary>
|
||||
/// git-url to file
|
||||
/// </summary>
|
||||
public Uri GitUrl { get; set; }
|
||||
public Uri GitUrl { get; protected set; }
|
||||
|
||||
/// <summary>
|
||||
/// html-url to file
|
||||
/// </summary>
|
||||
public Uri HtmlUrl { get; set; }
|
||||
public Uri HtmlUrl { get; protected set; }
|
||||
|
||||
/// <summary>
|
||||
/// Repo where this file belongs to
|
||||
/// </summary>
|
||||
public Repository Repository { get; set; }
|
||||
public Repository Repository { get; protected set; }
|
||||
|
||||
internal string DebuggerDisplay
|
||||
{
|
||||
get
|
||||
{
|
||||
return String.Format(CultureInfo.InvariantCulture, "Sha: {0} Name: {1}", Sha, Name);
|
||||
}
|
||||
get { return String.Format(CultureInfo.InvariantCulture, "Sha: {0} Name: {1}", Sha, Name); }
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user