Public Member Functions | |
| Ref (T obj) | |
| Ref (Ref< T > copyfrom) | |
| void | Dispose () |
| Releases this reference to the object. | |
Public Attributes | |
| RefCounter< T > | v |
Properties | |
| bool | IsDisposed [get] |
| Returns true if this reference has been disposed. This does not indicate whether the object being referenced has been disposed, but it may have been if this was the last reference. In any case, if this is true, you shouldn't access the object anyway. | |
| T | Value [get] |
| Returns the object being wrapped around. | |
| RefCounter< T > | Counter [get, set] |
| The RefCounter<T> object this wraps. | |
| T |
| T | : | IDisposable |
| AgateLib.Utility.Ref< T >.Ref | ( | T | obj | ) |
| obj |
| AgateLib.Utility.Ref< T >.Ref | ( | Ref< T > | copyfrom | ) |
| copyfrom |
| void AgateLib.Utility.Ref< T >.Dispose | ( | ) |
Releases this reference to the object.
RefCounter<T> AgateLib.Utility.Ref< T >.Counter [get, set] |
The RefCounter<T> object this wraps.
bool AgateLib.Utility.Ref< T >.IsDisposed [get] |
Returns true if this reference has been disposed. This does not indicate whether the object being referenced has been disposed, but it may have been if this was the last reference. In any case, if this is true, you shouldn't access the object anyway.
T AgateLib.Utility.Ref< T >.Value [get] |
Returns the object being wrapped around.
|
AgateLib Awesome Game and Tool Engine Library |
|