Class DescribedField
A field that can be constructed incrementally in an imperative fashion.
Inherited Members
      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 SourceDescribedField(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 SourceFieldType
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.  | 
      
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 | 
  | 
      
ParentType
Gets the type that defines this member, if any.
Declaration
public IType ParentType { get; }
  Property Value
| Type | Description | 
|---|---|
| IType | The parent type.  |