{"action":"created","issue":{"url":"https://api.github.com/repos/rasmus/EventFlow/issues/206","repository_url":"https://api.github.com/repos/rasmus/EventFlow","labels_url":"https://api.github.com/repos/rasmus/EventFlow/issues/206/labels{/name}","comments_url":"https://api.github.com/repos/rasmus/EventFlow/issues/206/comments","events_url":"https://api.github.com/repos/rasmus/EventFlow/issues/206/events","html_url":"https://github.com/rasmus/EventFlow/pull/206","id":135836037,"number":206,"title":"Allow developers to control job display names in Hangfire","user":{"login":"rasmus","id":18956,"avatar_url":"https://avatars.githubusercontent.com/u/18956?v=3","gravatar_id":"","url":"https://api.github.com/users/rasmus","html_url":"https://github.com/rasmus","followers_url":"https://api.github.com/users/rasmus/followers","following_url":"https://api.github.com/users/rasmus/following{/other_user}","gists_url":"https://api.github.com/users/rasmus/gists{/gist_id}","starred_url":"https://api.github.com/users/rasmus/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rasmus/subscriptions","organizations_url":"https://api.github.com/users/rasmus/orgs","repos_url":"https://api.github.com/users/rasmus/repos","events_url":"https://api.github.com/users/rasmus/events{/privacy}","received_events_url":"https://api.github.com/users/rasmus/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/rasmus/EventFlow/labels/enhancement","name":"enhancement","color":"009800"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2016-02-23T19:21:32Z","updated_at":"2016-02-24T15:00:23Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/rasmus/EventFlow/pulls/206","html_url":"https://github.com/rasmus/EventFlow/pull/206","diff_url":"https://github.com/rasmus/EventFlow/pull/206.diff","patch_url":"https://github.com/rasmus/EventFlow/pull/206.patch"},"body":"Developers can implement a custom `IJobDisplayNameBuilder` and control how a job display name is created.\r\n\r\n@ylbillyli Would something like this work for #205?"},"comment":{"url":"https://api.github.com/repos/rasmus/EventFlow/issues/comments/188292044","html_url":"https://github.com/rasmus/EventFlow/pull/206#issuecomment-188292044","issue_url":"https://api.github.com/repos/rasmus/EventFlow/issues/206","id":188292044,"user":{"login":"rasmus","id":18956,"avatar_url":"https://avatars.githubusercontent.com/u/18956?v=3","gravatar_id":"","url":"https://api.github.com/users/rasmus","html_url":"https://github.com/rasmus","followers_url":"https://api.github.com/users/rasmus/followers","following_url":"https://api.github.com/users/rasmus/following{/other_user}","gists_url":"https://api.github.com/users/rasmus/gists{/gist_id}","starred_url":"https://api.github.com/users/rasmus/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rasmus/subscriptions","organizations_url":"https://api.github.com/users/rasmus/orgs","repos_url":"https://api.github.com/users/rasmus/repos","events_url":"https://api.github.com/users/rasmus/events{/privacy}","received_events_url":"https://api.github.com/users/rasmus/received_events","type":"User","site_admin":false},"created_at":"2016-02-24T15:00:23Z","updated_at":"2016-02-24T15:00:23Z","body":"@ylbillyli Making it `GetDisplayNameAsync` generic would not make it easier as the service would still be resolved once as the generic isn't on the interface. Making the interface would force you to register a name build for every job and I would argue that this would be too cumbersome compared to simple implementing one.\r\n\r\nThe idea is, that `GetDisplayNameAsync` allows you to build whatever you would like to use for job names. The default will use the job definition name and version and thus providing a sensible default.\r\n\r\nIf you choose to implement your own, then you could inspect the job properties or select to simple do the convention that the job title is the `ToString()` of a job."}}