Open sandboxFocus

Namespace PostSharp.Patterns.Model.TypeAdapters

Classes

FieldRule

Exposes the GetRelationshipInfo(FieldInfo) method, which makes it possible to mark a field as Child or Reference programmatically, without a custom attribute.

RegisterFieldRuleAttribute

Custom attribute that registers a FieldRule. The custom attribute must be applied to the current project at the assembly level.

RegisterTypeAdapterAttribute

Custom attribute that registers a TypeAdapter. The custom attribute must be applied to the current project at the assembly level.

TypeAdapter

Adapter that implements the features otherwise added by AggregatableAttribute to external or third-party types.

TypeAdapterFactory

Factory class for the TypeAdapter type. Implementations must have a public default constructor.