C# Reflection problem : How to ask a class if it has an object called -
In my code there are many examples of a class, with each inter configs etc. In this class there is a representative eventholder method that receives the event occurring from the sender and then need to perform some action with one of the above objects.
I would like to know that the reflection can solve it.
Private CatClass cat1; Private CatClass cat2; Private CatClass Cat 3; I would like to come face-to-face to check each incident independently whether it is the object that I want. But instead of receiving the object instance, you should retrieve some kind of event again.
then
Private Zero Representative Handler (String Sender Name, Object Sender, Custom Event Type Evt), sender / sender receipt, // I say How does one action about cat2 object / is it possible to ask a class if he has an object defined as 'cat2' and then proceed with doing an action Thanks for the help
Is it highly unlikely to get the way you want? Curiously, the sender will not give you a proper example? If not, then you should give a sentence to a dictionary in Catcalls and it is necessary to search for that dictionary.
Comments
Post a Comment