TypeBuilder.

AddField(string, Type) Method

Summary

Get a Weaver.Editor.Procedural.Scripting.FieldBuilder 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 FieldBuilder AddField(string nameSource, Type fieldType)

Parameters

Name Type Description
nameSource string
fieldType Type

Return Value

Type Description
FieldBuilder