FieldRule.GetRelationshipInfo Method |
Gets the RelationshipInfo of a given field.
Namespace: PostSharp.Patterns.Model.TypeAdapters
Assembly: PostSharp.Patterns.Aggregation (in PostSharp.Patterns.Aggregation.dll) Version: 6.8.6.0 (6.8.6.0)
C#
public abstract Nullable<RelationshipInfo> GetRelationshipInfo( FieldInfo field )
Parameters
- field
- Type: System.Reflection.FieldInfo
A FieldInfo that is not annotated by any MemberRelationshipAttribute.
Return Value
Type: Nullable<RelationshipInfo>A RelationshipInfo structure for field, or null if the current FieldRule does not know how to handle field.