{"action":"opened","issue":{"url":"https://api.github.com/repos/beardgame/utilities/issues/62","repository_url":"https://api.github.com/repos/beardgame/utilities","labels_url":"https://api.github.com/repos/beardgame/utilities/issues/62/labels{/name}","comments_url":"https://api.github.com/repos/beardgame/utilities/issues/62/comments","events_url":"https://api.github.com/repos/beardgame/utilities/issues/62/events","html_url":"https://github.com/beardgame/utilities/issues/62","id":156434776,"number":62,"title":"Allow backwards enumeration of DeletableObjectList","user":{"login":"amulware","id":3987892,"avatar_url":"https://avatars.githubusercontent.com/u/3987892?v=3","gravatar_id":"","url":"https://api.github.com/users/amulware","html_url":"https://github.com/amulware","followers_url":"https://api.github.com/users/amulware/followers","following_url":"https://api.github.com/users/amulware/following{/other_user}","gists_url":"https://api.github.com/users/amulware/gists{/gist_id}","starred_url":"https://api.github.com/users/amulware/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/amulware/subscriptions","organizations_url":"https://api.github.com/users/amulware/orgs","repos_url":"https://api.github.com/users/amulware/repos","events_url":"https://api.github.com/users/amulware/events{/privacy}","received_events_url":"https://api.github.com/users/amulware/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/beardgame/utilities/labels/enhancement","name":"enhancement","color":"84b6eb"}],"state":"open","locked":false,"assignee":{"login":"amulware","id":3987892,"avatar_url":"https://avatars.githubusercontent.com/u/3987892?v=3","gravatar_id":"","url":"https://api.github.com/users/amulware","html_url":"https://github.com/amulware","followers_url":"https://api.github.com/users/amulware/followers","following_url":"https://api.github.com/users/amulware/following{/other_user}","gists_url":"https://api.github.com/users/amulware/gists{/gist_id}","starred_url":"https://api.github.com/users/amulware/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/amulware/subscriptions","organizations_url":"https://api.github.com/users/amulware/orgs","repos_url":"https://api.github.com/users/amulware/repos","events_url":"https://api.github.com/users/amulware/events{/privacy}","received_events_url":"https://api.github.com/users/amulware/received_events","type":"User","site_admin":false},"milestone":null,"comments":0,"created_at":"2016-05-24T07:11:01Z","updated_at":"2016-05-24T07:11:01Z","closed_at":null,"body":"I have found the collection very useful in all sorts of places, most recently in a custom event-subscription system. For that I may want to enumerate the list in reverse, which can be done almost trivially by adding another Enumerator.\r\n\r\nWhile the current enumerator also enumerates items that are added during enumeration, this new one would not, but that seems a minor issue, or maybe even desired behaviour.\r\n\r\nI propose adding the following property:\r\n\r\n```\r\nIEnumerable<T> DeletableObjectList<T>.Reversed { get; }\r\n```\r\n\r\nThe list could keep a no-data object internally which is returned with this property and implements GetEnumerator() correctly. While a bit of a shame in terms of memory, this will make sure there is no unnecessary pressure on the GC."}}
{"actor":{"display_login":"amulware"}}