Table of Contents

Class GenerateShapeAttribute<T>

Namespace
PolyType
Assembly
PolyType.dll

When applied on a partial class, instructs the PolyType 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