public static Func <TTo> ToDelegate <TTo>(this IFunc <Void, TTo> func) { return(() => func.Invoke(Void.Instance)); }
public static EventHandler <TFrom> ToEventHandler <TFrom>(this IFunc <TFrom, Void> func) { return((obj, from) => func.Invoke(from)); }
public static TTo Invoke <TTo>(this IFunc <Void, TTo> func) { return(func.Invoke(Void.Instance)); }
public static Action <TFrom> ToDelegate <TFrom>(this IFunc <TFrom, Void> func) { return(from => func.Invoke(from)); }
public static void Invoke <TFrom>(this IFunc <TFrom, Void> func, TFrom from) { func.Invoke(from); }