Open sandboxFocus

Class RegisterFieldRuleAttribute

Custom attribute that registers a FieldRule. The custom attribute must be applied to the current project at assembly-level.

Inheritance
RegisterFieldRuleAttribute
Namespace: PostSharp.Patterns.Model.TypeAdapters
Assembly: PostSharp.Patterns.Aggregation.dll
Syntax
[AttributeUsage(AttributeTargets.Assembly)]
public sealed class RegisterFieldRuleAttribute : Attribute

Constructors

Name Description
RegisterFieldRuleAttribute(Type)

Initializes a new instance of the RegisterFieldRuleAttribute type.

Properties

Name Description
FieldRuleType

Gets the Type (derived from FieldRule).