TypeBuilder.

AddMethod(string, TypeName, ParameterBuilder[], AppendFunction) Method

Summary

Get a Weaver.Editor.Procedural.Scripting.MethodBuilder from the object pool and initialize it with the specified parameters as a member of this type.
Assembly
Weaver.dll
Namespace
Weaver.Editor.Procedural.Scripting
Containing Type
TypeBuilder

Syntax

public MethodBuilder AddMethod(string nameSource, TypeName returnType, ParameterBuilder[] parameters, AppendFunction bodyBuilder)

Parameters

Name Type Description
nameSource string
returnType TypeName
parameters ParameterBuilder[]
bodyBuilder AppendFunction

Return Value

Type Description
MethodBuilder