Show / Hide Table of Contents

    Class AccessorKind

    Constrains the signature of a property accessor.

    Inheritance
    System.Object
    AccessorKind
    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
    Assembly: Flame.dll
    Syntax
    public abstract class AccessorKind

    Fields

    | Improve this Doc View Source

    Get

    The accessor kind for 'get' accessors.

    Declaration
    public static readonly AccessorKind Get
    Field Value
    Type Description
    AccessorKind
    | Improve this Doc View Source

    Other

    The accessor kind for 'other' accessors.

    Declaration
    public static readonly AccessorKind Other
    Field Value
    Type Description
    AccessorKind
    | Improve this Doc View Source

    Set

    The accessor kind for 'set' accessors.

    Declaration
    public static readonly AccessorKind Set
    Field Value
    Type Description
    AccessorKind

    Methods

    | Improve this Doc View Source

    IsLegalAccessor(IAccessor)

    Checks if an accessor matches the constraints imposed by this accessor kind.

    Declaration
    public abstract bool IsLegalAccessor(IAccessor accessor)
    Parameters
    Type Name Description
    IAccessor accessor

    The accessor to examine.

    Returns
    Type Description
    System.Boolean

    true if the accessor matches the constraints imposed by this accessor kind; otherwise, false.

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