Class ProgramFactoryCall
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
ProcedurestringThe name of a
PublicFunctionorProperty Getof the class that Module names.ArgumentsIReadOnlyList<ProgramArgument>The arguments, by the names of the parameters they are passed to; an
Optionalparameter 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
Procedure
The name of a Public Function or Property Get of the class that Module names.
public string Procedure { get; init; }