Cool, I'll pull out the lazy loading. Agreed on simplicity.

-----Original Message-----
From: "Brendan Forster" <notifications@github.com>
Sent: ‎20/‎01/‎2014 19:08
To: "octokit/octokit.net" <octokit.net@noreply.github.com>
Cc: "Andy Cross" <andy@elastacloud.com>
Subject: Re: [octokit.net] Implement Repository Hooks (#313)

In Octokit.Reactive/Clients/ObservableRepositoriesClient.cs:
> @@ -17,6 +18,8 @@ public ObservableRepositoriesClient(IGitHubClient client)
>              _client = client.Repository;
>              _connection = client.Connection;
>              CommitStatus = new ObservableCommitStatusClient(client);
> +            var apiConnection = new ApiConnection(_connection);
> +            _hooks = new Lazy<IRepositoryHooksClient>( () => new RepositoryHooksClient(apiConnection));
This one? https://github.com/octokit/octokit.net/blob/7bfbb72379b155bf74d06f4d3855b4e1c4a46efa/Octokit/Models/Response/Readme.cs#L25
That's an edge case because we don't want to do the rendering until as late as possible. Let's keep it simple for the moment. 
—
Reply to this email directly or view it on GitHub.