Catel.Core by Catel

<PackageReference Include="Catel.Core" Version="5.12.0-beta0003" />

.NET API 629,680 bytes

 IWeakFunc<TResult>

public interface IWeakFunc<TResult> : IWeakReference, IExecute<TResult>
A weak func which allows the invocation of a command in a weak manner. This way, actions will not cause memory leaks.
Delegate Action { get; }

Gets the actual delegate to invoke.

string MethodName { get; }

Gets the name of the method that should be executed.