{"action":"created","issue":{"url":"https://api.github.com/repos/aspnet/Logging/issues/489","repository_url":"https://api.github.com/repos/aspnet/Logging","labels_url":"https://api.github.com/repos/aspnet/Logging/issues/489/labels{/name}","comments_url":"https://api.github.com/repos/aspnet/Logging/issues/489/comments","events_url":"https://api.github.com/repos/aspnet/Logging/issues/489/events","html_url":"https://github.com/aspnet/Logging/pull/489","id":175689818,"number":489,"title":"Implement add and subtract operators for EventId's","user":{"login":"henkmollema","id":1521207,"avatar_url":"https://avatars.githubusercontent.com/u/1521207?v=3","gravatar_id":"","url":"https://api.github.com/users/henkmollema","html_url":"https://github.com/henkmollema","followers_url":"https://api.github.com/users/henkmollema/followers","following_url":"https://api.github.com/users/henkmollema/following{/other_user}","gists_url":"https://api.github.com/users/henkmollema/gists{/gist_id}","starred_url":"https://api.github.com/users/henkmollema/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/henkmollema/subscriptions","organizations_url":"https://api.github.com/users/henkmollema/orgs","repos_url":"https://api.github.com/users/henkmollema/repos","events_url":"https://api.github.com/users/henkmollema/events{/privacy}","received_events_url":"https://api.github.com/users/henkmollema/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/aspnet/Logging/labels/cla-already-signed","name":"cla-already-signed","color":"009800"}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":3,"created_at":"2016-09-08T08:02:34Z","updated_at":"2016-09-08T13:44:23Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/aspnet/Logging/pulls/489","html_url":"https://github.com/aspnet/Logging/pull/489","diff_url":"https://github.com/aspnet/Logging/pull/489.diff","patch_url":"https://github.com/aspnet/Logging/pull/489.patch"},"body":"- Implement `+` operator\r\n- Implement `-` operator\r\n- Added unit tests\r\n- Use C# 6 read-only properties\r\n- Use null coalescing in `ToString()` method\r\n\r\nThis allows for a event class like this:\r\n```csharp\r\npublic static class Events\r\n{\r\n    public static EventId Base = new EventId(100);\r\n    public static EventId SomeEvent = Base + 1;\r\n    public static EventId AnotherEvent = Base + 2;\r\n    public static EventId MoreEvent = Base + 3;\r\n}\r\n```"},"comment":{"url":"https://api.github.com/repos/aspnet/Logging/issues/comments/245601639","html_url":"https://github.com/aspnet/Logging/pull/489#issuecomment-245601639","issue_url":"https://api.github.com/repos/aspnet/Logging/issues/489","id":245601639,"user":{"login":"304NotModified","id":5808377,"avatar_url":"https://avatars.githubusercontent.com/u/5808377?v=3","gravatar_id":"","url":"https://api.github.com/users/304NotModified","html_url":"https://github.com/304NotModified","followers_url":"https://api.github.com/users/304NotModified/followers","following_url":"https://api.github.com/users/304NotModified/following{/other_user}","gists_url":"https://api.github.com/users/304NotModified/gists{/gist_id}","starred_url":"https://api.github.com/users/304NotModified/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/304NotModified/subscriptions","organizations_url":"https://api.github.com/users/304NotModified/orgs","repos_url":"https://api.github.com/users/304NotModified/repos","events_url":"https://api.github.com/users/304NotModified/events{/privacy}","received_events_url":"https://api.github.com/users/304NotModified/received_events","type":"User","site_admin":false},"created_at":"2016-09-08T13:44:22Z","updated_at":"2016-09-08T13:44:22Z","body":"I was more looking for an use case. Why in earth should people do Id+1. "}}
{"actor":{"display_login":"304NotModified"}}