RegisterTypeAdapterAttribute Constructor (Type, Type) |
Initializes a new RegisterFieldRuleAttribute and specifies the name of the target type.
Namespace: PostSharp.Patterns.Model.TypeAdapters
Assembly: PostSharp.Patterns.Aggregation (in PostSharp.Patterns.Aggregation.dll) Version: 2023.0.3.0 (2023.0.3.0)
C#
public RegisterTypeAdapterAttribute( Type targetType, Type typeAdapterFactoryType )
Parameters
- targetType
- Type: System.Type
The target Type. - typeAdapterFactoryType
- Type: System.Type
A Type derived from TypeAdapterFactory. The type must have a public default constructor.