Table of Contents

Class GenerateShapeAttribute<T>

Namespace
TypeShape
Assembly
TypeShape.dll

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

[AttributeUsage(AttributeTargets.Class, AllowMultiple = true, Inherited = false)]
public sealed class GenerateShapeAttribute<T> : Attribute

Type Parameters

T

The type for which shape metadata will be generated.

Inheritance
GenerateShapeAttribute<T>
Inherited Members