Fixed HasGetterOnlyProperties test

This commit is contained in:
Kristian Hellang
2015-01-06 08:33:09 +01:00
parent 574202a9ea
commit 15f0d04445
9 changed files with 53 additions and 59 deletions
+9 -12
View File
@@ -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); }
}
}
}
}