I have a static function library in which I would like to use timers and the like. However, timers take in an object instance, which does not exist in said static function library. If possible I want to avoid turning this class into a singleton just to use timers (or anything else taking in delegates). How can I go about this?
With delegate you can use AddStatic
For times you most likely need to bind user timer delegate
Thanks for the first link, I don’t understand the second one though? What do you mean by user timer delegate?