WeakFuncT, TResult Class |
Namespace: Cimbalino.Toolkit.Helpers
public class WeakFunc<T, TResult> : WeakFunc<TResult>
The WeakFuncT, TResult type exposes the following members.
Name | Description | |
---|---|---|
WeakFuncT, TResult(FuncT, TResult) |
Initializes a new instance of the WeakFuncT, TResult class.
| |
WeakFuncT, TResult(Object, FuncT, TResult) |
Initializes a new instance of the WeakFuncT, TResult class.
|
Name | Description | |
---|---|---|
FuncReference |
Gets or sets a WeakReference to the target FuncTResult.
(Inherited from WeakFuncTResult.) | |
IsAlive |
Gets a value indicating whether the function's owner is still alive (not yet collected by the Garbage Collector).
(Overrides WeakFuncTResultIsAlive.) | |
Method |
Gets or sets the MethodInfo corresponding to this WeakFuncTResult.
(Inherited from WeakFuncTResult.) | |
Reference |
Gets or sets a WeakReference to the target of this WeakFuncTResult.
(Inherited from WeakFuncTResult.) |
Name | Description | |
---|---|---|
Dispose |
Disposes this instance and releases all references.
(Inherited from WeakFuncTResult.) | |
Equals | Determines whether the specified object is equal to the current object. (Inherited from Object.) | |
Execute |
Executes the function if function's owner is still alive.
(Overrides WeakFuncTResultExecute.) | |
Execute(T) |
Executes the function if function's owner is still alive.
| |
Finalize | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.) | |
GetHashCode | Serves as the default hash function. (Inherited from Object.) | |
GetType | Gets the Type of the current instance. (Inherited from Object.) | |
MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) | |
ToString | Returns a string that represents the current object. (Inherited from Object.) |
Name | Description | |
---|---|---|
AddEventHandler |
Adds an event handler to an event source.
(Defined by ObjectExtensions.) | |
GetPropertyValue(String) | Overloaded.
Searches for the public property with the specified name and gets its value.
(Defined by ObjectExtensions.) | |
GetPropertyValueTObject(String) | Overloaded.
Searches for the public property with the specified name and gets its value.
(Defined by ObjectExtensions.) | |
InvokeMethod(String, Object) | Overloaded.
Searches for the public method with the specified name and invokes it using the specified parameters.
(Defined by ObjectExtensions.) | |
InvokeMethodTObject(String, Object) | Overloaded.
Searches for the public method with the specified name and invokes it using the specified parameters, returning the result.
(Defined by ObjectExtensions.) | |
RemoveEventHandler |
Removes an event handler from an event source.
(Defined by ObjectExtensions.) | |
SetPropertyValueTObject |
Searches for the public property with the specified name and sets its value.
(Defined by ObjectExtensions.) |