in System.Activities.WorkflowApplication there is a delegate property:
public Action<WorkflowApplicationCompletedEventArgs> Completed { get; set; }
In my program so far I have a variable that is an instance of this class
I want to define an F # function to set the following:
let f (e: WorkflowApplicationCompletedEventArgs) =
but this causes an error:
Error 102 This expression should have been of type Action, but there is type 'a â unit
How do I execute the "f" function to satisfy the compiler?
source share