mirror of
https://github.com/zoriya/octokit.net.git
synced 2026-06-01 18:35:35 +00:00
Provide constructors for EnforceAdmins class to allow mocking (#1679)
This commit is contained in:
@@ -67,6 +67,13 @@ namespace Octokit
|
||||
[DebuggerDisplay("{DebuggerDisplay,nq}")]
|
||||
public class EnforceAdmins
|
||||
{
|
||||
public EnforceAdmins() { }
|
||||
|
||||
public EnforceAdmins(bool enabled)
|
||||
{
|
||||
Enabled = enabled;
|
||||
}
|
||||
|
||||
public bool Enabled { get; protected set; }
|
||||
|
||||
internal string DebuggerDisplay
|
||||
|
||||
Reference in New Issue
Block a user