Table of Contents

Namespace TypeShape

Classes

ConstructorShapeAttribute

Indicates that the annotated constructor should be included in the shape model.

GenerateShapeAttribute

When applied on a partial type, this attribute instructs the TypeShape source generator to emit an IShapeable<T> implementation for the annotated type.

GenerateShapeAttribute<T>

When applied on a partial class, instructs the TypeShape source generator to emit an ITypeShapeProvider implementation that includes a shape definition for T.

ParameterShapeAttribute

Configures the shape of a parameter for a given constructor.

PropertyShapeAttribute

Configures the shape of a property or field for a given type.

Interfaces

IShapeable<T>

Defines a static abstract factory providing a ITypeShape<T> instance.

ITypeShapeProvider

Defines a provider for ITypeShape implementations.