Interface IFunctionTypeShape
- Namespace
- PolyType.Abstractions
- Assembly
- PolyType.dll
Provides a strongly typed shape model for function types.
public interface IFunctionTypeShape : ITypeShape
- Inherited Members
Remarks
A function type shape represents a delegate type or an F# function type.
Properties
IsAsync
bool IsAsync { get; }
Property Value
IsVoidLike
bool IsVoidLike { get; }
Property Value
Remarks
When true the ReturnType is reported as Unit,
Parameters
Gets the shapes of the parameters accepted by the method.
IReadOnlyList<IParameterShape> Parameters { get; }
Property Value
ReturnType
Gets the shape of the return type of the method.
ITypeShape ReturnType { get; }