{"action":"opened","number":102,"pull_request":{"url":"https://api.github.com/repos/VSoftTechnologies/DUnitX/pulls/102","id":27225337,"html_url":"https://github.com/VSoftTechnologies/DUnitX/pull/102","diff_url":"https://github.com/VSoftTechnologies/DUnitX/pull/102.diff","patch_url":"https://github.com/VSoftTechnologies/DUnitX/pull/102.patch","issue_url":"https://api.github.com/repos/VSoftTechnologies/DUnitX/issues/102","number":102,"state":"open","locked":false,"title":"Quite some refactoring on the container","user":{"login":"sglienke","id":6238697,"avatar_url":"https://avatars.githubusercontent.com/u/6238697?v=3","gravatar_id":"","url":"https://api.github.com/users/sglienke","html_url":"https://github.com/sglienke","followers_url":"https://api.github.com/users/sglienke/followers","following_url":"https://api.github.com/users/sglienke/following{/other_user}","gists_url":"https://api.github.com/users/sglienke/gists{/gist_id}","starred_url":"https://api.github.com/users/sglienke/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sglienke/subscriptions","organizations_url":"https://api.github.com/users/sglienke/orgs","repos_url":"https://api.github.com/users/sglienke/repos","events_url":"https://api.github.com/users/sglienke/events{/privacy}","received_events_url":"https://api.github.com/users/sglienke/received_events","type":"User","site_admin":false},"body":"Made many methods non generic as they are just working with interfaces which can be handled as IInterface.\r\nAlso made sure that the delegate already returns the properly type so any further QueryInterface calls are unnecessary.\r\n\r\nUsed a trick to improve instance creation by taking the codeaddress of the rtti method and casting it to the ctor signature for faster invokation.\r\n\r\nMade use of the memoize pattern for capturing the constructor so it only gets queried by rtti once.\r\nUsed the same pattern for making sure that a singleton is only created once without any additional checks outside the delegate.","created_at":"2015-01-12T20:56:49Z","updated_at":"2015-01-12T20:56:49Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/VSoftTechnologies/DUnitX/pulls/102/commits","review_comments_url":"https://api.github.com/repos/VSoftTechnologies/DUnitX/pulls/102/comments","review_comment_url":"https://api.github.com/repos/VSoftTechnologies/DUnitX/pulls/comments/{number}","comments_url":"https://api.github.com/repos/VSoftTechnologies/DUnitX/issues/102/comments","statuses_url":"https://api.github.com/repos/VSoftTechnologies/DUnitX/statuses/b5fd0cc4166adde765521f3b27820d4279af1cbe","head":{"label":"sglienke:feature/container-refactoring","ref":"feature/container-refactoring","sha":"b5fd0cc4166adde765521f3b27820d4279af1cbe","user":{"login":"sglienke","id":6238697,"avatar_url":"https://avatars.githubusercontent.com/u/6238697?v=3","gravatar_id":"","url":"https://api.github.com/users/sglienke","html_url":"https://github.com/sglienke","followers_url":"https://api.github.com/users/sglienke/followers","following_url":"https://api.github.com/users/sglienke/following{/other_user}","gists_url":"https://api.github.com/users/sglienke/gists{/gist_id}","starred_url":"https://api.github.com/users/sglienke/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sglienke/subscriptions","organizations_url":"https://api.github.com/users/sglienke/orgs","repos_url":"https://api.github.com/users/sglienke/repos","events_url":"https://api.github.com/users/sglienke/events{/privacy}","received_events_url":"https://api.github.com/users/sglienke/received_events","type":"User","site_admin":false},"repo":{"id":29109840,"name":"DUnitX","full_name":"sglienke/DUnitX","owner":{"login":"sglienke","id":6238697,"avatar_url":"https://avatars.githubusercontent.com/u/6238697?v=3","gravatar_id":"","url":"https://api.github.com/users/sglienke","html_url":"https://github.com/sglienke","followers_url":"https://api.github.com/users/sglienke/followers","following_url":"https://api.github.com/users/sglienke/following{/other_user}","gists_url":"https://api.github.com/users/sglienke/gists{/gist_id}","starred_url":"https://api.github.com/users/sglienke/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sglienke/subscriptions","organizations_url":"https://api.github.com/users/sglienke/orgs","repos_url":"https://api.github.com/users/sglienke/repos","events_url":"https://api.github.com/users/sglienke/events{/privacy}","received_events_url":"https://api.github.com/users/sglienke/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/sglienke/DUnitX","description":"Delphi Unit Test Framework","fork":true,"url":"https://api.github.com/repos/sglienke/DUnitX","forks_url":"https://api.github.com/repos/sglienke/DUnitX/forks","keys_url":"https://api.github.com/repos/sglienke/DUnitX/keys{/key_id}","collaborators_url":"https://api.github.com/repos/sglienke/DUnitX/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/sglienke/DUnitX/teams","hooks_url":"https://api.github.com/repos/sglienke/DUnitX/hooks","issue_events_url":"https://api.github.com/repos/sglienke/DUnitX/issues/events{/number}","events_url":"https://api.github.com/repos/sglienke/DUnitX/events","assignees_url":"https://api.github.com/repos/sglienke/DUnitX/assignees{/user}","branches_url":"https://api.github.com/repos/sglienke/DUnitX/branches{/branch}","tags_url":"https://api.github.com/repos/sglienke/DUnitX/tags","blobs_url":"https://api.github.com/repos/sglienke/DUnitX/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/sglienke/DUnitX/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/sglienke/DUnitX/git/refs{/sha}","trees_url":"https://api.github.com/repos/sglienke/DUnitX/git/trees{/sha}","statuses_url":"https://api.github.com/repos/sglienke/DUnitX/statuses/{sha}","languages_url":"https://api.github.com/repos/sglienke/DUnitX/languages","stargazers_url":"https://api.github.com/repos/sglienke/DUnitX/stargazers","contributors_url":"https://api.github.com/repos/sglienke/DUnitX/contributors","subscribers_url":"https://api.github.com/repos/sglienke/DUnitX/subscribers","subscription_url":"https://api.github.com/repos/sglienke/DUnitX/subscription","commits_url":"https://api.github.com/repos/sglienke/DUnitX/commits{/sha}","git_commits_url":"https://api.github.com/repos/sglienke/DUnitX/git/commits{/sha}","comments_url":"https://api.github.com/repos/sglienke/DUnitX/comments{/number}","issue_comment_url":"https://api.github.com/repos/sglienke/DUnitX/issues/comments/{number}","contents_url":"https://api.github.com/repos/sglienke/DUnitX/contents/{+path}","compare_url":"https://api.github.com/repos/sglienke/DUnitX/compare/{base}...{head}","merges_url":"https://api.github.com/repos/sglienke/DUnitX/merges","archive_url":"https://api.github.com/repos/sglienke/DUnitX/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/sglienke/DUnitX/downloads","issues_url":"https://api.github.com/repos/sglienke/DUnitX/issues{/number}","pulls_url":"https://api.github.com/repos/sglienke/DUnitX/pulls{/number}","milestones_url":"https://api.github.com/repos/sglienke/DUnitX/milestones{/number}","notifications_url":"https://api.github.com/repos/sglienke/DUnitX/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/sglienke/DUnitX/labels{/name}","releases_url":"https://api.github.com/repos/sglienke/DUnitX/releases{/id}","created_at":"2015-01-11T23:19:19Z","updated_at":"2015-01-12T20:10:15Z","pushed_at":"2015-01-12T20:52:33Z","git_url":"git://github.com/sglienke/DUnitX.git","ssh_url":"git@github.com:sglienke/DUnitX.git","clone_url":"https://github.com/sglienke/DUnitX.git","svn_url":"https://github.com/sglienke/DUnitX","homepage":null,"size":8850,"stargazers_count":0,"watchers_count":0,"language":"Pascal","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"VSoftTechnologies:master","ref":"master","sha":"2549734f94f1d3413f5c6ec7c9c5dea6caf54610","user":{"login":"VSoftTechnologies","id":1037268,"avatar_url":"https://avatars.githubusercontent.com/u/1037268?v=3","gravatar_id":"","url":"https://api.github.com/users/VSoftTechnologies","html_url":"https://github.com/VSoftTechnologies","followers_url":"https://api.github.com/users/VSoftTechnologies/followers","following_url":"https://api.github.com/users/VSoftTechnologies/following{/other_user}","gists_url":"https://api.github.com/users/VSoftTechnologies/gists{/gist_id}","starred_url":"https://api.github.com/users/VSoftTechnologies/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/VSoftTechnologies/subscriptions","organizations_url":"https://api.github.com/users/VSoftTechnologies/orgs","repos_url":"https://api.github.com/users/VSoftTechnologies/repos","events_url":"https://api.github.com/users/VSoftTechnologies/events{/privacy}","received_events_url":"https://api.github.com/users/VSoftTechnologies/received_events","type":"Organization","site_admin":false},"repo":{"id":9876870,"name":"DUnitX","full_name":"VSoftTechnologies/DUnitX","owner":{"login":"VSoftTechnologies","id":1037268,"avatar_url":"https://avatars.githubusercontent.com/u/1037268?v=3","gravatar_id":"","url":"https://api.github.com/users/VSoftTechnologies","html_url":"https://github.com/VSoftTechnologies","followers_url":"https://api.github.com/users/VSoftTechnologies/followers","following_url":"https://api.github.com/users/VSoftTechnologies/following{/other_user}","gists_url":"https://api.github.com/users/VSoftTechnologies/gists{/gist_id}","starred_url":"https://api.github.com/users/VSoftTechnologies/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/VSoftTechnologies/subscriptions","organizations_url":"https://api.github.com/users/VSoftTechnologies/orgs","repos_url":"https://api.github.com/users/VSoftTechnologies/repos","events_url":"https://api.github.com/users/VSoftTechnologies/events{/privacy}","received_events_url":"https://api.github.com/users/VSoftTechnologies/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/VSoftTechnologies/DUnitX","description":"Delphi Unit Test Framework","fork":false,"url":"https://api.github.com/repos/VSoftTechnologies/DUnitX","forks_url":"https://api.github.com/repos/VSoftTechnologies/DUnitX/forks","keys_url":"https://api.github.com/repos/VSoftTechnologies/DUnitX/keys{/key_id}","collaborators_url":"https://api.github.com/repos/VSoftTechnologies/DUnitX/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/VSoftTechnologies/DUnitX/teams","hooks_url":"https://api.github.com/repos/VSoftTechnologies/DUnitX/hooks","issue_events_url":"https://api.github.com/repos/VSoftTechnologies/DUnitX/issues/events{/number}","events_url":"https://api.github.com/repos/VSoftTechnologies/DUnitX/events","assignees_url":"https://api.github.com/repos/VSoftTechnologies/DUnitX/assignees{/user}","branches_url":"https://api.github.com/repos/VSoftTechnologies/DUnitX/branches{/branch}","tags_url":"https://api.github.com/repos/VSoftTechnologies/DUnitX/tags","blobs_url":"https://api.github.com/repos/VSoftTechnologies/DUnitX/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/VSoftTechnologies/DUnitX/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/VSoftTechnologies/DUnitX/git/refs{/sha}","trees_url":"https://api.github.com/repos/VSoftTechnologies/DUnitX/git/trees{/sha}","statuses_url":"https://api.github.com/repos/VSoftTechnologies/DUnitX/statuses/{sha}","languages_url":"https://api.github.com/repos/VSoftTechnologies/DUnitX/languages","stargazers_url":"https://api.github.com/repos/VSoftTechnologies/DUnitX/stargazers","contributors_url":"https://api.github.com/repos/VSoftTechnologies/DUnitX/contributors","subscribers_url":"https://api.github.com/repos/VSoftTechnologies/DUnitX/subscribers","subscription_url":"https://api.github.com/repos/VSoftTechnologies/DUnitX/subscription","commits_url":"https://api.github.com/repos/VSoftTechnologies/DUnitX/commits{/sha}","git_commits_url":"https://api.github.com/repos/VSoftTechnologies/DUnitX/git/commits{/sha}","comments_url":"https://api.github.com/repos/VSoftTechnologies/DUnitX/comments{/number}","issue_comment_url":"https://api.github.com/repos/VSoftTechnologies/DUnitX/issues/comments/{number}","contents_url":"https://api.github.com/repos/VSoftTechnologies/DUnitX/contents/{+path}","compare_url":"https://api.github.com/repos/VSoftTechnologies/DUnitX/compare/{base}...{head}","merges_url":"https://api.github.com/repos/VSoftTechnologies/DUnitX/merges","archive_url":"https://api.github.com/repos/VSoftTechnologies/DUnitX/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/VSoftTechnologies/DUnitX/downloads","issues_url":"https://api.github.com/repos/VSoftTechnologies/DUnitX/issues{/number}","pulls_url":"https://api.github.com/repos/VSoftTechnologies/DUnitX/pulls{/number}","milestones_url":"https://api.github.com/repos/VSoftTechnologies/DUnitX/milestones{/number}","notifications_url":"https://api.github.com/repos/VSoftTechnologies/DUnitX/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/VSoftTechnologies/DUnitX/labels{/name}","releases_url":"https://api.github.com/repos/VSoftTechnologies/DUnitX/releases{/id}","created_at":"2013-05-06T00:55:07Z","updated_at":"2015-01-12T10:52:05Z","pushed_at":"2015-01-12T10:52:05Z","git_url":"git://github.com/VSoftTechnologies/DUnitX.git","ssh_url":"git@github.com:VSoftTechnologies/DUnitX.git","clone_url":"https://github.com/VSoftTechnologies/DUnitX.git","svn_url":"https://github.com/VSoftTechnologies/DUnitX","homepage":null,"size":8850,"stargazers_count":79,"watchers_count":79,"language":"Pascal","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":48,"mirror_url":null,"open_issues_count":11,"forks":48,"open_issues":11,"watchers":79,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/VSoftTechnologies/DUnitX/pulls/102"},"html":{"href":"https://github.com/VSoftTechnologies/DUnitX/pull/102"},"issue":{"href":"https://api.github.com/repos/VSoftTechnologies/DUnitX/issues/102"},"comments":{"href":"https://api.github.com/repos/VSoftTechnologies/DUnitX/issues/102/comments"},"review_comments":{"href":"https://api.github.com/repos/VSoftTechnologies/DUnitX/pulls/102/comments"},"review_comment":{"href":"https://api.github.com/repos/VSoftTechnologies/DUnitX/pulls/comments/{number}"},"commits":{"href":"https://api.github.com/repos/VSoftTechnologies/DUnitX/pulls/102/commits"},"statuses":{"href":"https://api.github.com/repos/VSoftTechnologies/DUnitX/statuses/b5fd0cc4166adde765521f3b27820d4279af1cbe"}},"merged":false,"mergeable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"commits":8,"additions":252,"deletions":341,"changed_files":6}}