RegisterFieldRuleAttribute Constructor |
Initializes a new instance of the RegisterFieldRuleAttribute 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 RegisterFieldRuleAttribute( Type fieldRuleType )
Parameters
- fieldRuleType
- Type: System.Type
A Type derived from FieldRule. The type must have a default constructor.