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
Marshaller
Gets the bidirectional mapper between T
and TSurrogate
.
IMarshaller<T, TSurrogate> Marshaller { get; }
Property Value
- IMarshaller<T, TSurrogate>
SurrogateType
Gets the shape of the element type of the nullable.
ITypeShape<TSurrogate> SurrogateType { get; }
Property Value
- ITypeShape<TSurrogate>