Interface IExecuteWithObjectAndResult
This interface is meant for the WeakFunc<TResult> class and can be useful if you store multiple WeakFunc{T} instances but don't know in advance what type T represents.
Namespace: ISynergy.Framework.Core.Abstractions.Events
Assembly: ISynergy.Framework.Core.dll
Syntax
public interface IExecuteWithObjectAndResult
Methods
View SourceExecuteWithObject(Object)
Executes a Func and returns the result.
Declaration
object ExecuteWithObject(object parameter)
Parameters
Type | Name | Description |
---|---|---|
System.Object | parameter | A parameter passed as an object, to be casted to the appropriate type. |
Returns
Type | Description |
---|---|
System.Object | The result of the operation. |