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

Namespace: PostSharp.Patterns.Model.TypeAdapters
Assembly: PostSharp.Patterns.Aggregation (in PostSharp.Patterns.Aggregation.dll) Version: 6.4.11.0 (6.4.11.0)

C#
public sealed class RegisterTypeAdapterAttribute : Attribute
The RegisterTypeAdapterAttribute type exposes the following members.

Name | Description | |
---|---|---|
![]() | RegisterTypeAdapterAttribute(String, Type) |
Initializes a new RegisterFieldRuleAttribute and specifies the name of the target type. Use this constructor when the target type is not in the current assembly or in
an assembly referenced by the current assembly.
|
![]() | RegisterTypeAdapterAttribute(Type, Type) |
Initializes a new RegisterFieldRuleAttribute and specifies the name of the target type.
|

Name | Description | |
---|---|---|
![]() | TargetTypeName |
Gets the name of the target type.
|
![]() | TypeAdapterFactoryType |
Gets the Type (derived from TypeAdapterFactory).
|
