public delegate TResult ClassToStructFunc<T, TResult>(
T value
)
where T : class
where TResult : struct, new()
Public Delegate Function ClassToStructFunc(Of T As Class, TResult As {Structure, New}) (
value As T
) As TResult
Dim instance As New ClassToStructFunc(Of T, TResult)(AddressOf HandlerMethod)
generic<typename T, typename TResult>
where T : ref class
where TResult : value class, gcnew()
public delegate TResult ClassToStructFunc(
T value
)
This delegate exists because the MapT, TResult(T, NullableExtensionsClassToStructFuncT, TResult) method must have different argument types than the MapT, TResult(NullableT, FuncT, TResult) method.