|
Empeld
Empeld plugin documentation.
|
An extended, generic, WeakReference type. Not named WeakReference to avoid conflict with the MS .Net 4.5 generic weak reference
More...
Public Member Functions | |
| WeakReferenceExt (T target) | |
| Initializes a new instance of the class. More... | |
| bool | TryGetTarget (out T target) |
| Try to get the target. Returns false if it does not exist More... | |
Static Public Member Functions | |
| static | operator WeakReferenceExt< T > (T obj) |
| static implicit | operator T (WeakReferenceExt< T > input) |
Properties | |
| new T | Target [get] |
| Gets the target. More... | |
An extended, generic, WeakReference type. Not named WeakReference to avoid conflict with the MS .Net 4.5 generic weak reference
| T | : | class |
| pluginbase.Helpers.WeakReferenceExt< T >.WeakReferenceExt | ( | T | target | ) |
|
static |
|
explicitstatic |
| bool pluginbase.Helpers.WeakReferenceExt< T >.TryGetTarget | ( | out T | target | ) |
Try to get the target. Returns false if it does not exist
true, if get target was successful, false otherwise.| target | Target. |
|
get |
Gets the target.
The target.