summaryrefslogtreecommitdiff
path: root/src/SMAPI/Framework/Events/ManagedEventHandler.cs
AgeCommit message (Collapse)Author
2022-04-13enable nullable annotations in SMAPI where no logic changes are needed (#837)Jesse Plamondon-Willard
2022-04-06enable nullable annotations by default (#837)Jesse Plamondon-Willard
This adds `#nullable disable` to all existing code (except where null is impossible like enum files), so it can be migrated incrementally.
2022-04-06simplify 'is not' patternsJesse Plamondon-Willard
2022-03-22reduce duplicated doc blocksJesse Plamondon-Willard
2020-06-21fix event priority sortingJesse Plamondon-Willard
2020-06-16improve new event codeJesse Plamondon-Willard
This commit... * debounces the has-custom-priorities check; * fixes collection-modified-during-enumeration errors if an event handler is added or removed while the event is being raised; * fixes Remove(handler) removing all instances of the handler instead of the last one.
2020-06-15refactor & optimize event code a bit, drop old support for unknown event ↵Jesse Plamondon-Willard
handlers