{"action":"created","comment":{"url":"https://api.github.com/repos/mrahhal/MR.AspNetCore.Jobs/pulls/comments/203997510","pull_request_review_id":138999561,"id":203997510,"node_id":"MDI0OlB1bGxSZXF1ZXN0UmV2aWV3Q29tbWVudDIwMzk5NzUxMA==","diff_hunk":"@@ -0,0 +1,41 @@\n+﻿using MR.AspNetCore.Jobs;\n+using System;\n+using System.Collections.Generic;\n+using System.Linq;\n+using System.Reflection;\n+\n+namespace Microsoft.Extensions.DependencyInjection\n+{\n+\tpublic static class JobsOptionsExtensions\n+\t{\n+\t\t/// <summary>\n+\t\t/// Registers the cron jobs registries within the assembly\n+\t\t/// </summary>\n+\t\t/// <param name=\"assembly\">Assembly containing classes extending from <see cref=\"CronJobRegistry\"/>.</param>\n+\t\tpublic static void UseCronJobRegistries(this JobsOptions jobsOptions, Assembly assembly)\n+\t\t{\n+\t\t\t// get all classes extending cron job registry\n+\t\t\tvar types = assembly.GetTypes()\n+\t\t\t\t.Where(type => typeof(CronJobRegistry)\n+\t\t\t\t.IsAssignableFrom(type));","path":"src/MR.AspNetCore.Jobs/JobsOptionsExtensions.cs","position":null,"original_position":20,"commit_id":"f46961850e28c6762a60af4244094b21c41dee9a","original_commit_id":"aa751e16ed2908a734b73d0b43495be081aa4795","user":{"login":"MogauGeeky","id":10864511,"node_id":"MDQ6VXNlcjEwODY0NTEx","avatar_url":"https://avatars1.githubusercontent.com/u/10864511?v=4","gravatar_id":"","url":"https://api.github.com/users/MogauGeeky","html_url":"https://github.com/MogauGeeky","followers_url":"https://api.github.com/users/MogauGeeky/followers","following_url":"https://api.github.com/users/MogauGeeky/following{/other_user}","gists_url":"https://api.github.com/users/MogauGeeky/gists{/gist_id}","starred_url":"https://api.github.com/users/MogauGeeky/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/MogauGeeky/subscriptions","organizations_url":"https://api.github.com/users/MogauGeeky/orgs","repos_url":"https://api.github.com/users/MogauGeeky/repos","events_url":"https://api.github.com/users/MogauGeeky/events{/privacy}","received_events_url":"https://api.github.com/users/MogauGeeky/received_events","type":"User","site_admin":false},"body":"Got it, done","created_at":"2018-07-20T10:07:40Z","updated_at":"2018-07-20T10:07:40Z","html_url":"https://github.com/mrahhal/MR.AspNetCore.Jobs/pull/15#discussion_r203997510","pull_request_url":"https://api.github.com/repos/mrahhal/MR.AspNetCore.Jobs/pulls/15","author_association":"NONE","_links":{"self":{"href":"https://api.github.com/repos/mrahhal/MR.AspNetCore.Jobs/pulls/comments/203997510"},"html":{"href":"https://github.com/mrahhal/MR.AspNetCore.Jobs/pull/15#discussion_r203997510"},"pull_request":{"href":"https://api.github.com/repos/mrahhal/MR.AspNetCore.Jobs/pulls/15"}},"in_reply_to_id":203975384},"pull_request":{"url":"https://api.github.com/repos/mrahhal/MR.AspNetCore.Jobs/pulls/15","id":202762712,"node_id":"MDExOlB1bGxSZXF1ZXN0MjAyNzYyNzEy","html_url":"https://github.com/mrahhal/MR.AspNetCore.Jobs/pull/15","diff_url":"https://github.com/mrahhal/MR.AspNetCore.Jobs/pull/15.diff","patch_url":"https://github.com/mrahhal/MR.AspNetCore.Jobs/pull/15.patch","issue_url":"https://api.github.com/repos/mrahhal/MR.AspNetCore.Jobs/issues/15","number":15,"state":"open","locked":false,"title":"JobsOptions extension to load CronJobRegistry from a assembly","user":{"login":"MogauGeeky","id":10864511,"node_id":"MDQ6VXNlcjEwODY0NTEx","avatar_url":"https://avatars1.githubusercontent.com/u/10864511?v=4","gravatar_id":"","url":"https://api.github.com/users/MogauGeeky","html_url":"https://github.com/MogauGeeky","followers_url":"https://api.github.com/users/MogauGeeky/followers","following_url":"https://api.github.com/users/MogauGeeky/following{/other_user}","gists_url":"https://api.github.com/users/MogauGeeky/gists{/gist_id}","starred_url":"https://api.github.com/users/MogauGeeky/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/MogauGeeky/subscriptions","organizations_url":"https://api.github.com/users/MogauGeeky/orgs","repos_url":"https://api.github.com/users/MogauGeeky/repos","events_url":"https://api.github.com/users/MogauGeeky/events{/privacy}","received_events_url":"https://api.github.com/users/MogauGeeky/received_events","type":"User","site_admin":false},"body":"JobsOptions extension to allow scanning an assembly for classes extending CronJobRegistry and register them.","created_at":"2018-07-20T07:00:38Z","updated_at":"2018-07-20T10:07:40Z","closed_at":null,"merged_at":null,"merge_commit_sha":"58826abdcb9bb2b4b4bca6f11035e684c88d4fbc","assignee":{"login":"mrahhal","id":4404199,"node_id":"MDQ6VXNlcjQ0MDQxOTk=","avatar_url":"https://avatars0.githubusercontent.com/u/4404199?v=4","gravatar_id":"","url":"https://api.github.com/users/mrahhal","html_url":"https://github.com/mrahhal","followers_url":"https://api.github.com/users/mrahhal/followers","following_url":"https://api.github.com/users/mrahhal/following{/other_user}","gists_url":"https://api.github.com/users/mrahhal/gists{/gist_id}","starred_url":"https://api.github.com/users/mrahhal/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mrahhal/subscriptions","organizations_url":"https://api.github.com/users/mrahhal/orgs","repos_url":"https://api.github.com/users/mrahhal/repos","events_url":"https://api.github.com/users/mrahhal/events{/privacy}","received_events_url":"https://api.github.com/users/mrahhal/received_events","type":"User","site_admin":false},"assignees":[{"login":"mrahhal","id":4404199,"node_id":"MDQ6VXNlcjQ0MDQxOTk=","avatar_url":"https://avatars0.githubusercontent.com/u/4404199?v=4","gravatar_id":"","url":"https://api.github.com/users/mrahhal","html_url":"https://github.com/mrahhal","followers_url":"https://api.github.com/users/mrahhal/followers","following_url":"https://api.github.com/users/mrahhal/following{/other_user}","gists_url":"https://api.github.com/users/mrahhal/gists{/gist_id}","starred_url":"https://api.github.com/users/mrahhal/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mrahhal/subscriptions","organizations_url":"https://api.github.com/users/mrahhal/orgs","repos_url":"https://api.github.com/users/mrahhal/repos","events_url":"https://api.github.com/users/mrahhal/events{/privacy}","received_events_url":"https://api.github.com/users/mrahhal/received_events","type":"User","site_admin":false}],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/mrahhal/MR.AspNetCore.Jobs/pulls/15/commits","review_comments_url":"https://api.github.com/repos/mrahhal/MR.AspNetCore.Jobs/pulls/15/comments","review_comment_url":"https://api.github.com/repos/mrahhal/MR.AspNetCore.Jobs/pulls/comments{/number}","comments_url":"https://api.github.com/repos/mrahhal/MR.AspNetCore.Jobs/issues/15/comments","statuses_url":"https://api.github.com/repos/mrahhal/MR.AspNetCore.Jobs/statuses/f46961850e28c6762a60af4244094b21c41dee9a","head":{"label":"MogauGeeky:jobsoptions-assembly-scan-extension","ref":"jobsoptions-assembly-scan-extension","sha":"f46961850e28c6762a60af4244094b21c41dee9a","user":{"login":"MogauGeeky","id":10864511,"node_id":"MDQ6VXNlcjEwODY0NTEx","avatar_url":"https://avatars1.githubusercontent.com/u/10864511?v=4","gravatar_id":"","url":"https://api.github.com/users/MogauGeeky","html_url":"https://github.com/MogauGeeky","followers_url":"https://api.github.com/users/MogauGeeky/followers","following_url":"https://api.github.com/users/MogauGeeky/following{/other_user}","gists_url":"https://api.github.com/users/MogauGeeky/gists{/gist_id}","starred_url":"https://api.github.com/users/MogauGeeky/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/MogauGeeky/subscriptions","organizations_url":"https://api.github.com/users/MogauGeeky/orgs","repos_url":"https://api.github.com/users/MogauGeeky/repos","events_url":"https://api.github.com/users/MogauGeeky/events{/privacy}","received_events_url":"https://api.github.com/users/MogauGeeky/received_events","type":"User","site_admin":false},"repo":{"id":141603344,"node_id":"MDEwOlJlcG9zaXRvcnkxNDE2MDMzNDQ=","name":"MR.AspNetCore.Jobs","full_name":"MogauGeeky/MR.AspNetCore.Jobs","owner":{"login":"MogauGeeky","id":10864511,"node_id":"MDQ6VXNlcjEwODY0NTEx","avatar_url":"https://avatars1.githubusercontent.com/u/10864511?v=4","gravatar_id":"","url":"https://api.github.com/users/MogauGeeky","html_url":"https://github.com/MogauGeeky","followers_url":"https://api.github.com/users/MogauGeeky/followers","following_url":"https://api.github.com/users/MogauGeeky/following{/other_user}","gists_url":"https://api.github.com/users/MogauGeeky/gists{/gist_id}","starred_url":"https://api.github.com/users/MogauGeeky/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/MogauGeeky/subscriptions","organizations_url":"https://api.github.com/users/MogauGeeky/orgs","repos_url":"https://api.github.com/users/MogauGeeky/repos","events_url":"https://api.github.com/users/MogauGeeky/events{/privacy}","received_events_url":"https://api.github.com/users/MogauGeeky/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/MogauGeeky/MR.AspNetCore.Jobs","description":"A background processing library for Asp.Net Core.","fork":true,"url":"https://api.github.com/repos/MogauGeeky/MR.AspNetCore.Jobs","forks_url":"https://api.github.com/repos/MogauGeeky/MR.AspNetCore.Jobs/forks","keys_url":"https://api.github.com/repos/MogauGeeky/MR.AspNetCore.Jobs/keys{/key_id}","collaborators_url":"https://api.github.com/repos/MogauGeeky/MR.AspNetCore.Jobs/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/MogauGeeky/MR.AspNetCore.Jobs/teams","hooks_url":"https://api.github.com/repos/MogauGeeky/MR.AspNetCore.Jobs/hooks","issue_events_url":"https://api.github.com/repos/MogauGeeky/MR.AspNetCore.Jobs/issues/events{/number}","events_url":"https://api.github.com/repos/MogauGeeky/MR.AspNetCore.Jobs/events","assignees_url":"https://api.github.com/repos/MogauGeeky/MR.AspNetCore.Jobs/assignees{/user}","branches_url":"https://api.github.com/repos/MogauGeeky/MR.AspNetCore.Jobs/branches{/branch}","tags_url":"https://api.github.com/repos/MogauGeeky/MR.AspNetCore.Jobs/tags","blobs_url":"https://api.github.com/repos/MogauGeeky/MR.AspNetCore.Jobs/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/MogauGeeky/MR.AspNetCore.Jobs/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/MogauGeeky/MR.AspNetCore.Jobs/git/refs{/sha}","trees_url":"https://api.github.com/repos/MogauGeeky/MR.AspNetCore.Jobs/git/trees{/sha}","statuses_url":"https://api.github.com/repos/MogauGeeky/MR.AspNetCore.Jobs/statuses/{sha}","languages_url":"https://api.github.com/repos/MogauGeeky/MR.AspNetCore.Jobs/languages","stargazers_url":"https://api.github.com/repos/MogauGeeky/MR.AspNetCore.Jobs/stargazers","contributors_url":"https://api.github.com/repos/MogauGeeky/MR.AspNetCore.Jobs/contributors","subscribers_url":"https://api.github.com/repos/MogauGeeky/MR.AspNetCore.Jobs/subscribers","subscription_url":"https://api.github.com/repos/MogauGeeky/MR.AspNetCore.Jobs/subscription","commits_url":"https://api.github.com/repos/MogauGeeky/MR.AspNetCore.Jobs/commits{/sha}","git_commits_url":"https://api.github.com/repos/MogauGeeky/MR.AspNetCore.Jobs/git/commits{/sha}","comments_url":"https://api.github.com/repos/MogauGeeky/MR.AspNetCore.Jobs/comments{/number}","issue_comment_url":"https://api.github.com/repos/MogauGeeky/MR.AspNetCore.Jobs/issues/comments{/number}","contents_url":"https://api.github.com/repos/MogauGeeky/MR.AspNetCore.Jobs/contents/{+path}","compare_url":"https://api.github.com/repos/MogauGeeky/MR.AspNetCore.Jobs/compare/{base}...{head}","merges_url":"https://api.github.com/repos/MogauGeeky/MR.AspNetCore.Jobs/merges","archive_url":"https://api.github.com/repos/MogauGeeky/MR.AspNetCore.Jobs/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/MogauGeeky/MR.AspNetCore.Jobs/downloads","issues_url":"https://api.github.com/repos/MogauGeeky/MR.AspNetCore.Jobs/issues{/number}","pulls_url":"https://api.github.com/repos/MogauGeeky/MR.AspNetCore.Jobs/pulls{/number}","milestones_url":"https://api.github.com/repos/MogauGeeky/MR.AspNetCore.Jobs/milestones{/number}","notifications_url":"https://api.github.com/repos/MogauGeeky/MR.AspNetCore.Jobs/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/MogauGeeky/MR.AspNetCore.Jobs/labels{/name}","releases_url":"https://api.github.com/repos/MogauGeeky/MR.AspNetCore.Jobs/releases{/id}","deployments_url":"https://api.github.com/repos/MogauGeeky/MR.AspNetCore.Jobs/deployments","created_at":"2018-07-19T16:09:53Z","updated_at":"2018-07-19T16:09:55Z","pushed_at":"2018-07-20T10:06:50Z","git_url":"git://github.com/MogauGeeky/MR.AspNetCore.Jobs.git","ssh_url":"git@github.com:MogauGeeky/MR.AspNetCore.Jobs.git","clone_url":"https://github.com/MogauGeeky/MR.AspNetCore.Jobs.git","svn_url":"https://github.com/MogauGeeky/MR.AspNetCore.Jobs","homepage":"","size":290,"stargazers_count":0,"watchers_count":0,"language":"C#","has_issues":false,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":0,"license":{"key":"mit","name":"MIT License","spdx_id":"MIT","url":"https://api.github.com/licenses/mit","node_id":"MDc6TGljZW5zZTEz"},"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"mrahhal:master","ref":"master","sha":"558e9ef9a06bb8f5d3ae4f34356e07e019416a4a","user":{"login":"mrahhal","id":4404199,"node_id":"MDQ6VXNlcjQ0MDQxOTk=","avatar_url":"https://avatars0.githubusercontent.com/u/4404199?v=4","gravatar_id":"","url":"https://api.github.com/users/mrahhal","html_url":"https://github.com/mrahhal","followers_url":"https://api.github.com/users/mrahhal/followers","following_url":"https://api.github.com/users/mrahhal/following{/other_user}","gists_url":"https://api.github.com/users/mrahhal/gists{/gist_id}","starred_url":"https://api.github.com/users/mrahhal/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mrahhal/subscriptions","organizations_url":"https://api.github.com/users/mrahhal/orgs","repos_url":"https://api.github.com/users/mrahhal/repos","events_url":"https://api.github.com/users/mrahhal/events{/privacy}","received_events_url":"https://api.github.com/users/mrahhal/received_events","type":"User","site_admin":false},"repo":{"id":61152078,"node_id":"MDEwOlJlcG9zaXRvcnk2MTE1MjA3OA==","name":"MR.AspNetCore.Jobs","full_name":"mrahhal/MR.AspNetCore.Jobs","owner":{"login":"mrahhal","id":4404199,"node_id":"MDQ6VXNlcjQ0MDQxOTk=","avatar_url":"https://avatars0.githubusercontent.com/u/4404199?v=4","gravatar_id":"","url":"https://api.github.com/users/mrahhal","html_url":"https://github.com/mrahhal","followers_url":"https://api.github.com/users/mrahhal/followers","following_url":"https://api.github.com/users/mrahhal/following{/other_user}","gists_url":"https://api.github.com/users/mrahhal/gists{/gist_id}","starred_url":"https://api.github.com/users/mrahhal/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mrahhal/subscriptions","organizations_url":"https://api.github.com/users/mrahhal/orgs","repos_url":"https://api.github.com/users/mrahhal/repos","events_url":"https://api.github.com/users/mrahhal/events{/privacy}","received_events_url":"https://api.github.com/users/mrahhal/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/mrahhal/MR.AspNetCore.Jobs","description":"A background processing library for Asp.Net Core.","fork":false,"url":"https://api.github.com/repos/mrahhal/MR.AspNetCore.Jobs","forks_url":"https://api.github.com/repos/mrahhal/MR.AspNetCore.Jobs/forks","keys_url":"https://api.github.com/repos/mrahhal/MR.AspNetCore.Jobs/keys{/key_id}","collaborators_url":"https://api.github.com/repos/mrahhal/MR.AspNetCore.Jobs/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/mrahhal/MR.AspNetCore.Jobs/teams","hooks_url":"https://api.github.com/repos/mrahhal/MR.AspNetCore.Jobs/hooks","issue_events_url":"https://api.github.com/repos/mrahhal/MR.AspNetCore.Jobs/issues/events{/number}","events_url":"https://api.github.com/repos/mrahhal/MR.AspNetCore.Jobs/events","assignees_url":"https://api.github.com/repos/mrahhal/MR.AspNetCore.Jobs/assignees{/user}","branches_url":"https://api.github.com/repos/mrahhal/MR.AspNetCore.Jobs/branches{/branch}","tags_url":"https://api.github.com/repos/mrahhal/MR.AspNetCore.Jobs/tags","blobs_url":"https://api.github.com/repos/mrahhal/MR.AspNetCore.Jobs/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/mrahhal/MR.AspNetCore.Jobs/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/mrahhal/MR.AspNetCore.Jobs/git/refs{/sha}","trees_url":"https://api.github.com/repos/mrahhal/MR.AspNetCore.Jobs/git/trees{/sha}","statuses_url":"https://api.github.com/repos/mrahhal/MR.AspNetCore.Jobs/statuses/{sha}","languages_url":"https://api.github.com/repos/mrahhal/MR.AspNetCore.Jobs/languages","stargazers_url":"https://api.github.com/repos/mrahhal/MR.AspNetCore.Jobs/stargazers","contributors_url":"https://api.github.com/repos/mrahhal/MR.AspNetCore.Jobs/contributors","subscribers_url":"https://api.github.com/repos/mrahhal/MR.AspNetCore.Jobs/subscribers","subscription_url":"https://api.github.com/repos/mrahhal/MR.AspNetCore.Jobs/subscription","commits_url":"https://api.github.com/repos/mrahhal/MR.AspNetCore.Jobs/commits{/sha}","git_commits_url":"https://api.github.com/repos/mrahhal/MR.AspNetCore.Jobs/git/commits{/sha}","comments_url":"https://api.github.com/repos/mrahhal/MR.AspNetCore.Jobs/comments{/number}","issue_comment_url":"https://api.github.com/repos/mrahhal/MR.AspNetCore.Jobs/issues/comments{/number}","contents_url":"https://api.github.com/repos/mrahhal/MR.AspNetCore.Jobs/contents/{+path}","compare_url":"https://api.github.com/repos/mrahhal/MR.AspNetCore.Jobs/compare/{base}...{head}","merges_url":"https://api.github.com/repos/mrahhal/MR.AspNetCore.Jobs/merges","archive_url":"https://api.github.com/repos/mrahhal/MR.AspNetCore.Jobs/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/mrahhal/MR.AspNetCore.Jobs/downloads","issues_url":"https://api.github.com/repos/mrahhal/MR.AspNetCore.Jobs/issues{/number}","pulls_url":"https://api.github.com/repos/mrahhal/MR.AspNetCore.Jobs/pulls{/number}","milestones_url":"https://api.github.com/repos/mrahhal/MR.AspNetCore.Jobs/milestones{/number}","notifications_url":"https://api.github.com/repos/mrahhal/MR.AspNetCore.Jobs/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/mrahhal/MR.AspNetCore.Jobs/labels{/name}","releases_url":"https://api.github.com/repos/mrahhal/MR.AspNetCore.Jobs/releases{/id}","deployments_url":"https://api.github.com/repos/mrahhal/MR.AspNetCore.Jobs/deployments","created_at":"2016-06-14T20:02:41Z","updated_at":"2018-07-15T21:11:03Z","pushed_at":"2018-07-20T10:06:51Z","git_url":"git://github.com/mrahhal/MR.AspNetCore.Jobs.git","ssh_url":"git@github.com:mrahhal/MR.AspNetCore.Jobs.git","clone_url":"https://github.com/mrahhal/MR.AspNetCore.Jobs.git","svn_url":"https://github.com/mrahhal/MR.AspNetCore.Jobs","homepage":"","size":292,"stargazers_count":48,"watchers_count":48,"language":"C#","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":9,"mirror_url":null,"archived":false,"open_issues_count":8,"license":{"key":"mit","name":"MIT License","spdx_id":"MIT","url":"https://api.github.com/licenses/mit","node_id":"MDc6TGljZW5zZTEz"},"forks":9,"open_issues":8,"watchers":48,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/mrahhal/MR.AspNetCore.Jobs/pulls/15"},"html":{"href":"https://github.com/mrahhal/MR.AspNetCore.Jobs/pull/15"},"issue":{"href":"https://api.github.com/repos/mrahhal/MR.AspNetCore.Jobs/issues/15"},"comments":{"href":"https://api.github.com/repos/mrahhal/MR.AspNetCore.Jobs/issues/15/comments"},"review_comments":{"href":"https://api.github.com/repos/mrahhal/MR.AspNetCore.Jobs/pulls/15/comments"},"review_comment":{"href":"https://api.github.com/repos/mrahhal/MR.AspNetCore.Jobs/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/mrahhal/MR.AspNetCore.Jobs/pulls/15/commits"},"statuses":{"href":"https://api.github.com/repos/mrahhal/MR.AspNetCore.Jobs/statuses/f46961850e28c6762a60af4244094b21c41dee9a"}},"author_association":"NONE"}}
{"actor":{"display_login":"MogauGeeky"}}