Access functions from user control without events?
On some generic functions, it seems that accessing a function on mainform directly from the usercontrol is easier than raising an event. For example: A function on main form that displays one desired usercontrol centered and tweaked.
Root cause analysis in event correlation
I’m to write an event correlator module for the device we produce. When a fault occurs the resulting avalanche of logs about derivative conditions from various modules is readable only to a person skilled in the task – a layman will be utterly lost. The event correlator is supposed to solve this problem – find root cause and present a friendly message guiding the user to the origin of the problem.
Event and Objects
I have an array of objects. Instead of me when performing a task asking every object If they have anything to say about that, I would rather like the following:
Event and Objects
I have an array of objects. Instead of me when performing a task asking every object If they have anything to say about that, I would rather like the following:
Testing C# Eventhandler Subscription
I want my unit tests to be able to verify that some events were subscribed or unsubscribed at specific points. Currently, I see two options.
Testing C# Eventhandler Subscription
I want my unit tests to be able to verify that some events were subscribed or unsubscribed at specific points. Currently, I see two options.
Testing C# Eventhandler Subscription
I want my unit tests to be able to verify that some events were subscribed or unsubscribed at specific points. Currently, I see two options.
will having an event with subscribers prevent an object from being GC’ed?
I have an object, which has an event which in turn has subscribers.
I know that the subscribing objects won’t get GC’ed since the delegate they stored for the event is connected to them, thus keeping them connected with the object graph, until one explicitly unsubscribes them. This is only logical since otherwise nothing good will happen when the event is fired.