Table of Contents

Class ProgramFactoryCall

Namespace
RDCore.SDK.Runtime.Hosting
Assembly
RDCore.SDK.dll

The factory of an invocation (Factory): a function of a predeclared class that runs on the class's default instance and returns the object the invocation's procedure runs on.

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

Remarks

Its arguments bind to the function's parameters as the arguments of a ProgramCall do.

Constructors

ProgramFactoryCall(string, IReadOnlyList<ProgramArgument>)

The factory of an invocation (Factory): a function of a predeclared class that runs on the class's default instance and returns the object the invocation's procedure runs on.

public ProgramFactoryCall(string Procedure, IReadOnlyList<ProgramArgument> Arguments)

Parameters

Procedure string

The name of a Public Function or Property Get of the class that Module names.

Arguments IReadOnlyList<ProgramArgument>

The arguments, by the names of the parameters they are passed to; an Optional parameter may have none.

Remarks

Its arguments bind to the function's parameters as the arguments of a ProgramCall do.

Properties

Arguments

The arguments, by the names of the parameters they are passed to; an Optional parameter may have none.

public IReadOnlyList<ProgramArgument> Arguments { get; init; }

Property Value

IReadOnlyList<ProgramArgument>

Procedure

The name of a Public Function or Property Get of the class that Module names.

public string Procedure { get; init; }

Property Value

string