mirror of
https://github.com/zoriya/octokit.net.git
synced 2025-12-05 23:06:10 +00:00
41 lines
1.1 KiB
C#
41 lines
1.1 KiB
C#
using System;
|
||
using System.Diagnostics;
|
||
using System.Globalization;
|
||
|
||
namespace Octokit
|
||
{
|
||
/// <summary>
|
||
/// Used as part of the request to retrieve all public repositories.
|
||
/// </summary>
|
||
[DebuggerDisplay("{DebuggerDisplay,nq}")]
|
||
public class PublicRepositoryRequest : RequestParameters
|
||
{
|
||
/// <summary>
|
||
/// Initializes a new instance of the <see cref="PublicRepositoryRequest"/> class.
|
||
/// </summary>
|
||
/// <param name="since">The integer ID of the last Repository that you’ve seen.</param>
|
||
public PublicRepositoryRequest(int since)
|
||
{
|
||
Ensure.ArgumentNotNull(since, "since");
|
||
|
||
Since = since;
|
||
}
|
||
|
||
/// <summary>
|
||
/// Gets or sets the integer ID of the last Repository that you’ve seen.
|
||
/// </summary>
|
||
/// <value>
|
||
/// The since.
|
||
/// </value>
|
||
public long Since { get; set; }
|
||
|
||
internal string DebuggerDisplay
|
||
{
|
||
get
|
||
{
|
||
return string.Format(CultureInfo.InvariantCulture, "Since: {0} ", Since);
|
||
}
|
||
}
|
||
}
|
||
}
|