Table of Contents

Class DefaultMemberFact

Namespace
RDCore.SDK.Semantics
Assembly
RDCore.SDK.dll

The default member of a class, as an expression of the class's type has it: the member a value of the expression is read or assigned through (MS-VBAL §5.6.2.3, §5.4.3.8).

public sealed record DefaultMemberFact : IEquatable<DefaultMemberFact>
Inheritance
DefaultMemberFact
Implements
Inherited Members

Constructors

DefaultMemberFact(string, ExpressionClassification, PropertyAccessors, int)

The default member of a class, as an expression of the class's type has it: the member a value of the expression is read or assigned through (MS-VBAL §5.6.2.3, §5.4.3.8).

public DefaultMemberFact(string Name, ExpressionClassification Classification, PropertyAccessors Accessors, int RequiredParameters)

Parameters

Name string

The name of the member.

Classification ExpressionClassification

What the member is: a Function, a Property, or a Subroutine.

Accessors PropertyAccessors

The accessors of the member, for a property; None for any other member.

RequiredParameters int

How many parameters of the member are neither Optional nor a ParamArray: the fewest arguments a call of it can be given.

Properties

Accessors

The accessors of the member, for a property; None for any other member.

public PropertyAccessors Accessors { get; init; }

Property Value

PropertyAccessors

Classification

What the member is: a Function, a Property, or a Subroutine.

public ExpressionClassification Classification { get; init; }

Property Value

ExpressionClassification

Name

The name of the member.

public string Name { get; init; }

Property Value

string

RequiredParameters

How many parameters of the member are neither Optional nor a ParamArray: the fewest arguments a call of it can be given.

public int RequiredParameters { get; init; }

Property Value

int