RegisterTypeAdapterAttribute Constructor (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.
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( string targetTypeName, Type typeAdapterFactoryType )
Parameters
- targetTypeName
- Type: System.String
The name of the target type (equal to the FullName property of the target Type). - typeAdapterFactoryType
- Type: System.Type
A Type derived from TypeAdapterFactory. The type must have a public default constructor.