Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Preventng direct creation of sub-class instances
Message
From
28/07/2006 11:27:08
 
 
To
28/07/2006 11:12:23
Cetin Basoz
Engineerica Inc.
Izmir, Turkey
General information
Forum:
ASP.NET
Category:
Coding, syntax and commands
Miscellaneous
Thread ID:
01141060
Message ID:
01141150
Views:
18
>
>Test.MyObject mo = (Test.MyObject)Activator.CreateInstance(typeof(Test.MyObject),true);
>
If developers can create the object using reflection then it defeats what I'm trying to achieve anyway. (I was assuming I could prevent this by setting ReflectionPermissions - but I have'nt tried it yet...)

Best,
Viv
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform