ChildInfo Class |
Describes a location (typically a field or collection item) on which a child can be attached to a parent.
Namespace: PostSharp.Patterns.Model
Assembly: PostSharp.Patterns.Common (in PostSharp.Patterns.Common.dll) Version: 4.3.48.0 (4.3.48.0)
C#
public sealed class ChildInfo
The ChildInfo type exposes the following members.
Name | Description | |
---|---|---|
ChildInfo(FieldInfo, RelationshipInfo) |
Initializes a new instance of the ChildInfo that represents a field.
| |
ChildInfo(String, Type, RelationshipInfo) |
Initializes a new instance of the ChildInfo that represents a collection item or a custom location.
|
Name | Description | |
---|---|---|
DeclarationIdentifier |
Gets the DeclarationIdentifier of the field where the child is stored, or Null
if the current ChildInfo does not represent a field.
| |
LocationName |
Gets the name of the location to which the child is assigned.
| |
LocationType |
Gets the type of the location to which the child is assigned.
| |
RelationshipInfo |
Describes the kind of relationship between the child and its parent.
|
Name | Description | |
---|---|---|
QueryInterface<T> |
Gets the implementation of a specified interface for the specified object.
(Defined by QueryInterfaceExtensions.) |