Show / Hide Table of Contents

    Class DescribedField

    A field that can be constructed incrementally in an imperative fashion.

    Inheritance
    System.Object
    DescribedMember
    DescribedField
    Implements
    IField
    ITypeMember
    IMember
    Inherited Members
    DescribedMember.FullName
    DescribedMember.Name
    DescribedMember.Attributes
    DescribedMember.AddAttribute(IAttribute)
    DescribedMember.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.TypeSystem
    Assembly: Flame.dll
    Syntax
    public class DescribedField : DescribedMember, IField, ITypeMember, IMember

    Constructors

    | Improve this Doc View Source

    DescribedField(IType, UnqualifiedName, Boolean, IType)

    Creates a field from a parent type, a name, a staticness and a type of value to store.

    Declaration
    public DescribedField(IType parentType, UnqualifiedName name, bool isStatic, IType fieldType)
    Parameters
    Type Name Description
    IType parentType

    The field's parent type.

    UnqualifiedName name

    The field's name.

    System.Boolean isStatic

    Tells if the field is static.

    IType fieldType

    The type of value stored in the field.

    Properties

    | Improve this Doc View Source

    FieldType

    Gets or sets the type of value stored in this field.

    Declaration
    public IType FieldType { get; set; }
    Property Value
    Type Description
    IType

    The type of value stored in this field.

    | Improve this Doc View Source

    IsStatic

    Gets or sets a Boolean value that tells if this field is static.

    Declaration
    public bool IsStatic { get; set; }
    Property Value
    Type Description
    System.Boolean

    true if this field is static; otherwise, false.

    | Improve this Doc View Source

    ParentType

    Gets the type that defines this member, if any.

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

    The parent type.

    Implements

    IField
    ITypeMember
    IMember

    Extension Methods

    TypeExtensions.GetDefiningAssemblyOrNull(ITypeMember)
    TypeExtensions.GetRecursiveGenericDeclaration(IField)
    AccessModifierAttribute.GetAccessModifier(IMember)
    • Improve this Doc
    • View Source
    Back to top Generated by DocFX