{"action":"closed","issue":{"url":"https://api.github.com/repos/Particular/NServiceBus/issues/2341","labels_url":"https://api.github.com/repos/Particular/NServiceBus/issues/2341/labels{/name}","comments_url":"https://api.github.com/repos/Particular/NServiceBus/issues/2341/comments","events_url":"https://api.github.com/repos/Particular/NServiceBus/issues/2341/events","html_url":"https://github.com/Particular/NServiceBus/issues/2341","id":41620047,"number":2341,"title":"Component Registration API on bus configuration not consistent to extension aproach used elsewhere","user":{"login":"yvesgoeleven","id":471354,"avatar_url":"https://avatars.githubusercontent.com/u/471354?v=3","gravatar_id":"","url":"https://api.github.com/users/yvesgoeleven","html_url":"https://github.com/yvesgoeleven","followers_url":"https://api.github.com/users/yvesgoeleven/followers","following_url":"https://api.github.com/users/yvesgoeleven/following{/other_user}","gists_url":"https://api.github.com/users/yvesgoeleven/gists{/gist_id}","starred_url":"https://api.github.com/users/yvesgoeleven/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/yvesgoeleven/subscriptions","organizations_url":"https://api.github.com/users/yvesgoeleven/orgs","repos_url":"https://api.github.com/users/yvesgoeleven/repos","events_url":"https://api.github.com/users/yvesgoeleven/events{/privacy}","received_events_url":"https://api.github.com/users/yvesgoeleven/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/Particular/NServiceBus/labels/Type:%20Refactoring","name":"Type: Refactoring","color":"d7e102"}],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2014-09-01T09:08:24Z","updated_at":"2015-09-13T09:06:36Z","closed_at":"2015-09-13T09:06:36Z","body":"this lambda API feels off now that most of the builder is extension based: \r\n\r\nbuilder.RegisterComponents(c => c.ConfigureComponent<DebugFlagMutator>(DependencyLifecycle.InstancePerCall));\r\n\r\nshould be \r\n\r\nbuilder.RegisterComponents().ConfigureComponent<DebugFlagMutator>(DependencyLifecycle.InstancePerCall));"}}