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. | |
<typeparam name="T"></typeparam>
| ERY.AgateLib.Utility.Ref< T >.Ref | ( | T | obj | ) |
| obj |
| ERY.AgateLib.Utility.Ref< T >.Ref | ( | Ref< T > | copyfrom | ) |
| copyfrom |
| void ERY.AgateLib.Utility.Ref< T >.Dispose | ( | ) |
Releases this reference to the object.
| RefCounter<T> ERY.AgateLib.Utility.Ref< T >.v |
bool ERY.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 ERY.AgateLib.Utility.Ref< T >.Value [get] |
Returns the object being wrapped around.
RefCounter<T> ERY.AgateLib.Utility.Ref< T >.Counter [get, set] |
The RefCounter<T> object this wraps.
|
AgateLib Awesome Game and Tool Engine Library |
|