PostSharp.ILAPI ReferencePost­Sharp.​Patterns.​Model.​Type­AdaptersRegister­Field­Rule­Attribute
Open sandboxFocus

RegisterFieldRuleAttribute Class

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
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).