Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How to release object stored in property?
Message
 
 
To
30/04/2009 13:20:40
General information
Forum:
ASP.NET
Category:
Coding, syntax and commands
Environment versions
Environment:
C# 3.0
OS:
Windows XP SP2
Network:
Windows 2008 Server
Database:
MS SQL Server
Application:
Web
Miscellaneous
Thread ID:
01397173
Message ID:
01397257
Views:
33
>The reason I ask - isn't the purpose of this construct to make sure the call to idisposable is accomplished when you want it to be?
>

Yes, but I don't think it would serve John's purpose in this case. He needs to access this class in various methods of his bigger class thus he created it as a property.
If it's not broken, fix it until it is.


My Blog
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform