Func<T, TResult> property in F#
c#, f#
Solution
I think the equivalent would be something like
type test() =
member val private OnIsSatisfiedByProperty:PropertyInfo -> bool = (fun _ -> true) with get,set;;
Problem
I am currently interoperating with C# code from F#. Is it possible in F# to define a property that in C# looks like below? ` private Func<PropertyInfo, bool> OnIsSatisfiedByProperty { get; set; } ` (In F# it wouldn't have to be `Func<T, TResult>` but something equivalent.)