Search Results for

    Show / Hide Table of Contents

    Class MemberDeclarationNamedIdentifier

    AST Node represents a named identifier in a select new statement. E.g. In

    From X In Timesheets Select New With { .Y = X }

    "X" is represented by an instance of this node type.

    Inheritance
    System.Object
    Node
    MemberDeclaration
    MemberDeclarationNamedIdentifier
    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: TimeCockpit.Data.QueryLanguage.Syntax
    Assembly: TimeCockpit.Data.dll
    Syntax
    public class MemberDeclarationNamedIdentifier : MemberDeclaration

    Constructors

    MemberDeclarationNamedIdentifier(String, String)

    Initializes a new instance of the MemberDeclarationNamedIdentifier class.

    Declaration
    public MemberDeclarationNamedIdentifier(string name, string identifier)
    Parameters
    Type Name Description
    System.String name

    The name of the member.

    System.String identifier

    The identifier the member represents.

    Properties

    Identifier

    Gets the identifier.

    Declaration
    public string Identifier { get; }
    Property Value
    Type Description
    System.String

    Name

    Gets the name

    Declaration
    public string Name { get; }
    Property Value
    Type Description
    System.String

    Methods

    Accept(Visitor)

    Dispatches to the VisitMemberDeclaratorNamedIdentifier(MemberDeclarationNamedIdentifier) method.

    Declaration
    public override Node Accept(Visitor visitor)
    Parameters
    Type Name Description
    Visitor visitor

    The visitor to accept.

    Returns
    Type Description
    Node

    Returns the value returned by the call to VisitMemberDeclaratorNamedIdentifier(MemberDeclarationNamedIdentifier).

    Overrides
    Node.Accept(Visitor)
    In This Article
    Back to top Copyright © 2020 software architects gmbh