Class ClrPropertyDefinition
A Flame property that wraps an IL property definition.
Inherited Members
Namespace: Flame.Clr
Assembly: Flame.Clr.dll
Syntax
public sealed class ClrPropertyDefinition : IProperty, ITypeMember, IMember
Constructors
| Edit this page View SourceClrPropertyDefinition(PropertyDefinition, ClrTypeDefinition)
Creates a wrapper around an IL property definition.
Declaration
public ClrPropertyDefinition(PropertyDefinition definition, ClrTypeDefinition parentType)
Parameters
| Type | Name | Description |
|---|---|---|
| PropertyDefinition | definition | The definition to wrap in a Flame property. |
| ClrTypeDefinition | parentType | The definition's declaring type. |
Properties
| Edit this page View SourceAccessors
Gets a list of all accessors defined by this property.
Declaration
public IReadOnlyList<ClrAccessorDefinition> Accessors { get; }
Property Value
| Type | Description |
|---|---|
| IReadOnlyList<ClrAccessorDefinition> | All accessors defined by this property. |
Attributes
Gets the member's attributes.
Declaration
public AttributeMap Attributes { get; }
Property Value
| Type | Description |
|---|---|
| AttributeMap |
Definition
Gets the IL property definition wrapped by this Flame property.
Declaration
public PropertyDefinition Definition { get; }
Property Value
| Type | Description |
|---|---|
| PropertyDefinition | An IL property definition. |
FullName
Gets the member's full name.
Declaration
public QualifiedName FullName { get; }
Property Value
| Type | Description |
|---|---|
| QualifiedName |
IndexerParameters
Gets this property's indexer parameters, i.e., an additional list of parameters that each accessor takes.
Declaration
public IReadOnlyList<Parameter> IndexerParameters { get; }
Property Value
| Type | Description |
|---|---|
| IReadOnlyList<Parameter> | The indexer parameters. |
Name
Gets the member's unqualified name.
Declaration
public UnqualifiedName Name { get; }
Property Value
| Type | Description |
|---|---|
| UnqualifiedName |
ParentType
Gets the type that defines this property.
Declaration
public ClrTypeDefinition ParentType { get; }
Property Value
| Type | Description |
|---|---|
| ClrTypeDefinition | The type that defines this property. |
PropertyType
Gets this property's type.
Declaration
public IType PropertyType { get; }
Property Value
| Type | Description |
|---|---|
| IType | The property's type. |