PostSharpAPI ReferencePost­Sharp.​Patterns.​Model.​Type­Adapters
Open sandboxFocus

PostSharp.Patterns.Model.TypeAdapters Namespace

Classes

FieldRule

Exposes a method GetRelationshipInfo(FieldInfo) that allows to mark a field as Child or Reference programmatically, without custom attribute.

RegisterFieldRuleAttribute

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

RegisterTypeAdapterAttribute

Custom attribute that registers a TypeAdapter. The custom attribute must be applied to the current project at 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.