Class DescribedAccessor
A property accessor that can be constructed incrementally in an imperative fashion.
Inheritance
DescribedAccessor
Inherited Members
Namespace: Flame.TypeSystem
Assembly: Flame.dll
Syntax
public class DescribedAccessor : DescribedMethod, IAccessor, IMethod, ITypeMember, IGenericMember, IMember
Constructors
| Edit this page View SourceDescribedAccessor(IProperty, AccessorKind, UnqualifiedName, bool, IType)
Creates a new accessor.
Declaration
public DescribedAccessor(IProperty parentProperty, AccessorKind kind, UnqualifiedName name, bool isStatic, IType returnType)
Parameters
| Type | Name | Description |
|---|---|---|
| IProperty | parentProperty | The property in which this accessor is defined. |
| AccessorKind | kind | The accessor's kind. |
| UnqualifiedName | name | The accessor's name. |
| bool | isStatic | Tells if the accessor should be a static method or an instance method. |
| IType | returnType | The type of value returned by the accessor. |
Properties
| Edit this page View SourceKind
Gets this accessor's kind.
Declaration
public AccessorKind Kind { get; }
Property Value
| Type | Description |
|---|---|
| AccessorKind | The accessor's kind. |
ParentProperty
Gets this accessor's parent property: the property that defines it.
Declaration
public IProperty ParentProperty { get; }
Property Value
| Type | Description |
|---|---|
| IProperty | The accessor's parent property. |