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