ParameterBuilder Struct

Summary

[Editor-Only] The details of a procedural method parameter.
Assembly
Weaver.dll
Namespace
Weaver.Editor.Procedural.Scripting
Base Types
  • ValueType
graph BT Type-->Base0["ValueType"] Type["ParameterBuilder"] class Type type-node

Syntax

public readonly struct ParameterBuilder : ValueType

Constructors

Name Summary
ParameterBuilder(ParameterModifier, TypeName, string, string) Creates a new Weaver.Editor.Procedural.Scripting.ParameterBuilder.
ParameterBuilder(TypeName, string, string) Creates a new Weaver.Editor.Procedural.Scripting.ParameterBuilder.

Fields

Name Constant Value Summary
DefaultValue
The default value of each of this parameter.
Modifier
The prefix keyword of the parameter (.
Name
The C# name of this parameter.
Type
The name of the parameter type.

Methods

Name Value Summary
AppendDeclaration(StringBuilder) void
Appends the C# declaration of this parameter.
AppendDeclaration(StringBuilder, ParameterBuilder[]) void
Appends the declaration of a set of method parameters.
static
AreParametersSame(ParameterInfo[], ParameterBuilder[]) bool
Do all the `parameters` match the `builders`?
static
IsParameter(ParameterInfo) bool
Is this a match for the specified `parameter`?