TypeBuilder.

AddField<T>(string, T) 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<T>(string nameSource, T value)

Type Parameters

Name Description
T

Parameters

Name Type Description
nameSource string
value T

Return Value

Type Description
FieldBuilder