PostSharp6.5/API Reference/Post­Sharp.​Patterns.​Model.​Type­Adapters Namespace/Register­Field­Rule­Attribute Class/Register­Field­Rule­Attribute Constructor

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: 6.5.2.0 (6.5.2.0)
Syntax
C#
public RegisterFieldRuleAttribute(
	Type fieldRuleType
)

Parameters

fieldRuleType
Type: System.Type
A Type derived from FieldRule. The type must have a default constructor.
See Also