Custom attribute that registers a FieldRule. The custom attribute must be applied to the current project at the assembly level.
Namespace: PostSharp.Patterns.Model.TypeAdapters
Assembly: PostSharp.Patterns.Aggregation.dll
Syntax
[AttributeUsage(AttributeTargets.Assembly)]
public sealed class RegisterFieldRuleAttribute : AttributeRemarks
PostSharp reads this custom attribute from the assembly that contains the aggregatable class. Apply it to each project in which the rule must take effect.
Constructors
| Name | Description |
|---|---|
| RegisterFieldRuleAttribute(Type) | Initializes a new instance of the RegisterFieldRuleAttribute class. |
Properties
| Name | Description |
|---|---|
| FieldRuleType |