PostSharpAPI ReferencePost­Sharp.​Patterns.​Model.​Type­AdaptersField­RuleGet­Relationship­Info
Open sandboxFocus

FieldRule.GetRelationshipInfo Method

GetRelationshipInfo(FieldInfo)

Gets the RelationshipInfo of a given field.

Declaration
public abstract Nullable<RelationshipInfo> GetRelationshipInfo(FieldInfo field)
Parameters
Type Name Description
FieldInfo field

A FieldInfo that is not annotated by any MemberRelationshipAttribute.

Returns
Type Description
Nullable<RelationshipInfo>

A RelationshipInfo structure for field, or null if the current FieldRule does not know how to handle field.