Changed 'dynamic' to Dictionary<string, string> for configuration of hooks.

This commit is contained in:
Kristian Hald
2015-04-21 00:27:10 +02:00
parent 261e47f2f5
commit 87c7eed2eb
6 changed files with 67 additions and 25 deletions
+2 -2
View File
@@ -11,7 +11,7 @@ namespace Octokit
{
public RepositoryHook() { }
public RepositoryHook(int id, string url, string testUrl, string pingUrl, DateTimeOffset createdAt, DateTimeOffset updatedAt, string name, IReadOnlyList<string> events, bool active, dynamic config)
public RepositoryHook(int id, string url, string testUrl, string pingUrl, DateTimeOffset createdAt, DateTimeOffset updatedAt, string name, IReadOnlyList<string> events, bool active, IReadOnlyDictionary<string, string> config)
{
Url = url;
TestUrl = testUrl;
@@ -45,7 +45,7 @@ namespace Octokit
public bool Active { get; private set; }
public dynamic Config { get; private set; }
public IReadOnlyDictionary<string, string> Config { get; private set; }
internal string DebuggerDisplay
{