mirror of
https://github.com/zoriya/octokit.net.git
synced 2025-12-19 21:55:12 +00:00
Add a bunch of doc comments
We get a lot of build output because of missing XML comments that we
ignore. I'd like to stop ignoring them. To do that, we need to doc the
💩 out of everything.
This commit is contained in:
@@ -8,9 +8,12 @@ namespace Octokit
|
||||
/// <summary>
|
||||
/// Base class with common properties for all the Repository Content Request APIs.
|
||||
/// </summary>
|
||||
///
|
||||
public abstract class ContentRequest
|
||||
{
|
||||
/// <summary>
|
||||
/// Initializes a new instance of the <see cref="ContentRequest"/> class.
|
||||
/// </summary>
|
||||
/// <param name="message">The message.</param>
|
||||
protected ContentRequest(string message)
|
||||
{
|
||||
Ensure.ArgumentNotNullOrEmptyString(message, "message");
|
||||
@@ -45,6 +48,11 @@ namespace Octokit
|
||||
[DebuggerDisplay("{DebuggerDisplay,nq}")]
|
||||
public class DeleteFileRequest : ContentRequest
|
||||
{
|
||||
/// <summary>
|
||||
/// Initializes a new instance of the <see cref="DeleteFileRequest"/> class.
|
||||
/// </summary>
|
||||
/// <param name="message">The message.</param>
|
||||
/// <param name="sha">The sha.</param>
|
||||
public DeleteFileRequest(string message, string sha) : base(message)
|
||||
{
|
||||
Ensure.ArgumentNotNullOrEmptyString(sha, "sha");
|
||||
|
||||
Reference in New Issue
Block a user