c# Programming Glossary: m_someobject
Who Disposes of an IDisposable public property? http://stackoverflow.com/questions/674879/who-disposes-of-an-idisposable-public-property as a public property class AContainer SomeDisposableObject m_someObject new SomeDisposableObject public SomeDisposableObject SomeObject.. public SomeDisposableObject SomeObject get return m_someObject set m_someObject value Then FxCop will insist that AContainer.. SomeObject get return m_someObject set m_someObject value Then FxCop will insist that AContainer is also made IDisposable..
|