Show / Hide Table of Contents

    Class ClrPropertyDefinition

    A Flame property that wraps an IL property definition.

    Inheritance
    System.Object
    ClrPropertyDefinition
    Implements
    IProperty
    ITypeMember
    IMember
    Inherited Members
    System.Object.ToString()
    System.Object.Equals(System.Object)
    System.Object.Equals(System.Object, System.Object)
    System.Object.ReferenceEquals(System.Object, System.Object)
    System.Object.GetHashCode()
    System.Object.GetType()
    System.Object.MemberwiseClone()
    Namespace: Flame.Clr
    Assembly: Flame.Clr.dll
    Syntax
    public sealed class ClrPropertyDefinition : IProperty, ITypeMember, IMember

    Constructors

    | Improve this Doc View Source

    ClrPropertyDefinition(PropertyDefinition, ClrTypeDefinition)

    Creates a wrapper around an IL property definition.

    Declaration
    public ClrPropertyDefinition(PropertyDefinition definition, ClrTypeDefinition parentType)
    Parameters
    Type Name Description
    Mono.Cecil.PropertyDefinition definition

    The definition to wrap in a Flame property.

    ClrTypeDefinition parentType

    The definition's declaring type.

    Properties

    | Improve this Doc View Source

    Accessors

    Gets a list of all accessors defined by this property.

    Declaration
    public IReadOnlyList<ClrAccessorDefinition> Accessors { get; }
    Property Value
    Type Description
    System.Collections.Generic.IReadOnlyList<ClrAccessorDefinition>

    All accessors defined by this property.

    | Improve this Doc View Source

    Attributes

    Gets the member's attributes.

    Declaration
    public AttributeMap Attributes { get; }
    Property Value
    Type Description
    AttributeMap
    | Improve this Doc View Source

    Definition

    Gets the IL property definition wrapped by this Flame property.

    Declaration
    public PropertyDefinition Definition { get; }
    Property Value
    Type Description
    Mono.Cecil.PropertyDefinition

    An IL property definition.

    | Improve this Doc View Source

    FullName

    Gets the member's full name.

    Declaration
    public QualifiedName FullName { get; }
    Property Value
    Type Description
    QualifiedName
    | Improve this Doc View Source

    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
    System.Collections.Generic.IReadOnlyList<Parameter>

    The indexer parameters.

    | Improve this Doc View Source

    Name

    Gets the member's unqualified name.

    Declaration
    public UnqualifiedName Name { get; }
    Property Value
    Type Description
    UnqualifiedName
    | Improve this Doc View Source

    ParentType

    Gets the type that defines this property.

    Declaration
    public ClrTypeDefinition ParentType { get; }
    Property Value
    Type Description
    ClrTypeDefinition

    The type that defines this property.

    | Improve this Doc View Source

    PropertyType

    Gets this property's type.

    Declaration
    public IType PropertyType { get; }
    Property Value
    Type Description
    IType

    The property's type.

    Explicit Interface Implementations

    | Improve this Doc View Source

    IProperty.Accessors

    Gets this property's accessors. Each property can have at most one accessor any given kind.

    Declaration
    IReadOnlyList<IAccessor> IProperty.Accessors { get; }
    Returns
    Type Description
    System.Collections.Generic.IReadOnlyList<IAccessor>

    A read-only list of accessors.

    | Improve this Doc View Source

    ITypeMember.ParentType

    Gets the type that defines this member, if any.

    Declaration
    IType ITypeMember.ParentType { get; }
    Returns
    Type Description
    IType

    The parent type.

    Implements

    IProperty
    ITypeMember
    IMember
    • Improve this Doc
    • View Source
    Back to top Generated by DocFX