Show / Hide Table of Contents

    Class DescribedGenericParameter

    A generic parameter that can be constructed piece by piece in an imperative fashion.

    Inheritance
    System.Object
    DescribedMember
    DescribedGenericMember
    DescribedGenericParameter
    Implements
    IGenericParameter
    IType
    IGenericMember
    IMember
    Inherited Members
    DescribedGenericMember.GenericParameters
    DescribedGenericMember.AddGenericParameter(IGenericParameter)
    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 sealed class DescribedGenericParameter : DescribedGenericMember, IGenericParameter, IType, IGenericMember, IMember

    Constructors

    | Improve this Doc View Source

    DescribedGenericParameter(IGenericMember, SimpleName)

    Creates a generic parameter from a declaring member and a name.

    Declaration
    public DescribedGenericParameter(IGenericMember parentMember, SimpleName name)
    Parameters
    Type Name Description
    IGenericMember parentMember

    The member that declares the generic parameter.

    SimpleName name

    The generic parameter's name.

    | Improve this Doc View Source

    DescribedGenericParameter(IGenericMember, String)

    Creates a generic parameter from a declaring member and a name.

    Declaration
    public DescribedGenericParameter(IGenericMember parentMember, string name)
    Parameters
    Type Name Description
    IGenericMember parentMember

    The member that declares the generic parameter.

    System.String name

    The generic parameter's name.

    Properties

    | Improve this Doc View Source

    BaseTypes

    Gets this type's base types. Base types can be either classes or interfaces.

    Declaration
    public IReadOnlyList<IType> BaseTypes { get; set; }
    Property Value
    Type Description
    System.Collections.Generic.IReadOnlyList<IType>

    A read-only list of base types.

    | Improve this Doc View Source

    Fields

    Gets this type's fields.

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

    A read-only list of fields.

    | Improve this Doc View Source

    Methods

    Gets this type's methods.

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

    A read-only list of methods.

    | Improve this Doc View Source

    NestedTypes

    Gets the nested types defined by this type.

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

    A read-only list of nested types.

    | Improve this Doc View Source

    Parent

    Gets the parent entity that defines and owns this type.

    Declaration
    public TypeParent Parent { get; }
    Property Value
    Type Description
    TypeParent

    The parent entity.

    | Improve this Doc View Source

    ParentMember

    Gets the generic member that defines this generic parameter.

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

    Properties

    Gets this type's properties.

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

    A read-only list of properties.

    Implements

    IGenericParameter
    IType
    IGenericMember
    IMember

    Extension Methods

    TypeExtensions.GetAllInstanceFields(IType)
    TypeExtensions.GetImplementationOf(IType, IMethod)
    TypeExtensions.GetDefiningAssemblyOrNull(IType)
    TypeExtensions.IsPointerType(IType)
    TypeExtensions.IsPointerType(IType, PointerKind)
    TypeExtensions.MakePointerType(IType, PointerKind)
    TypeExtensions.MakeGenericType(IType, IReadOnlyList<IType>)
    TypeExtensions.MakeGenericType(IType, IType[])
    TypeExtensions.IsRecursiveGenericInstance(IType)
    TypeExtensions.GetRecursiveGenericDeclaration(IType)
    TypeExtensions.MakeRecursiveGenericType(IType, IReadOnlyList<IType>)
    TypeExtensions.GetRecursiveGenericArguments(IType)
    TypeExtensions.GetGenericArguments(IType)
    TypeExtensions.GetRecursiveGenericParameters(IType)
    TypeExtensions.GetRecursiveGenericArgumentMapping(IType)
    AccessModifierAttribute.GetAccessModifier(IMember)
    FlagAttribute.IsReferenceType(IType)
    FlagAttribute.IsSpecialType(IType)
    FlagAttribute.IsInterfaceType(IType)
    FlagAttribute.IsAbstract(IType)
    FlagAttribute.IsVirtual(IType)
    IntegerSpecAttribute.GetIntegerSpecOrNull(IType)
    IntegerSpecAttribute.IsIntegerType(IType)
    IntegerSpecAttribute.IsSignedIntegerType(IType)
    IntegerSpecAttribute.IsUnsignedIntegerType(IType)
    VirtualMethodSetExtensions.GetVirtualMethodSet(IType)
    VirtualMethodSetExtensions.GetMethodsAndAccessors(IType)
    • Improve this Doc
    • View Source
    Back to top Generated by DocFX