Interface ISurrogateTypeShape<T, TSurrogate>
- Namespace
- PolyType.Abstractions
- Assembly
- PolyType.dll
Provides a strongly typed shape model for a .NET type that employs a surrogate type.
public interface ISurrogateTypeShape<T, TSurrogate> : ITypeShape<T>, ISurrogateTypeShape, ITypeShape
Type Parameters
T
The type the shape describes.
TSurrogate
The surrogate type being specified by the shape.
- Inherited Members
Properties
Marshaler
Gets a bidirectional mapper between T
and TSurrogate
.
IMarshaler<T, TSurrogate> Marshaler { get; }
Property Value
- IMarshaler<T, TSurrogate>
SurrogateType
Gets the shape of the element type of the nullable.
ITypeShape<TSurrogate> SurrogateType { get; }
Property Value
- ITypeShape<TSurrogate>